b5287b1 removed important CCG_key_top_level call
Caused subsurf to crash w/o OSD
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user