From bb1ce1c3ec907c867728eabb0f0b68f0f08f39fa Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 13 Jan 2006 06:56:32 +0000 Subject: [PATCH] Subsurf UV crasher fix - thanks Malefico and Matthew for test files. --- source/blender/blenkernel/intern/subsurf_ccg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index 6c64a954b49..d0b741123b5 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -275,7 +275,7 @@ static int ss_sync_from_uv(CCGSubSurf *ss, CCGSubSurf *origss, Mesh *me, DispLis vmap= make_uv_vert_map(mface, tface, totface, totvert, 0, limit); if (!vmap) return 0; - + ccgSubSurf_initFullSync(ss); /* use this to get consistent vert handles with different heap addresses */ @@ -283,6 +283,9 @@ static int ss_sync_from_uv(CCGSubSurf *ss, CCGSubSurf *origss, Mesh *me, DispLis /* create vertices */ for (i=0; inext; v; v=v->next) if (v->separate) break;