Fix simple subsurf on wire edges
authorNicholas Bishop <nicholasbishop@gmail.com>
Sat, 18 Aug 2012 19:54:21 +0000 (19:54 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sat, 18 Aug 2012 19:54:21 +0000 (19:54 +0000)
commit12425588f2d33174e4a78873075b185ea51ebc3d
tree2a5c4a297d0461a026e42d5788d2344c8a6354e7
parente30ed91b9011b6eb5fae2932c002f83936c31d9d
Fix simple subsurf on wire edges

Subsurf on wire edges gave smooth results even if set to simple
subdiv. Added a field to the CCG meshIFC to flag simple subdivision,
then when syncing vertices simply skip moving vertices if in
simple-subdiv mode.

This change affects two places, the level-1 build in sync and the
subdivision up to other levels.

Fixes bug [#32268] Simple Subsurf Modifier gives unexpected results on
edges without faces
projects.blender.org/tracker/index.php?func=detail&aid=32268&group_id=9&atid=498
source/blender/blenkernel/intern/CCGSubSurf.c
source/blender/blenkernel/intern/CCGSubSurf.h
source/blender/blenkernel/intern/subsurf_ccg.c