b5287b1
removed important CCG_key_top_level call
Caused subsurf to crash w/o OSD
This commit is contained in:
parent
f6e0262a83
commit
41b99e40c0
Notes:
blender-bot
2023-11-20 12:14:32 +01:00
Referenced by issue #45989, The Plane object with subdivision surface modifier is not displayed.
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue