diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-02 08:39:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-02 08:39:17 +0300 |
commit | 41b99e40c0424b6821e35154a404205f7ffa04ce (patch) | |
tree | 3e0f8b405daa201bf61d7042ca917599992318fe /source/blender | |
parent | f6e0262a838625db7c74307ec7c92c1202a22301 (diff) |
b5287b1 removed important CCG_key_top_level call
Caused subsurf to crash w/o OSD
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/subsurf_ccg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index 9f833181fc9..2e462816850 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -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); |