b5287b1 removed important CCG_key_top_level call

Caused subsurf to crash w/o OSD
This commit is contained in:
Campbell Barton
2015-09-02 15:39:17 +10:00
parent f6e0262a83
commit 41b99e40c0

View File

@@ -1912,6 +1912,8 @@ static void ccgDM_buffer_copy_normal(
int shademodel;
int start = 0;
CCG_key_top_level(&key, ss);
for (i = 0; i < totface; i++) {
CCGFace *f = ccgdm->faceMap[i].face;
int S, x, y, numVerts = ccgSubSurf_getFaceNumVerts(f);
@@ -2114,6 +2116,8 @@ static void ccgDM_buffer_copy_vertex(
int start = 0;
int edgeSize = ccgSubSurf_getEdgeSize(ss);
CCG_key_top_level(&key, ss);
for (i = 0; i < totface; i++) {
CCGFace *f = ccgdm->faceMap[i].face;
int S, x, y, numVerts = ccgSubSurf_getFaceNumVerts(f);