2.5 Multires:
authorNicholas Bishop <nicholasbishop@gmail.com>
Fri, 21 Aug 2009 18:35:40 +0000 (18:35 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Fri, 21 Aug 2009 18:35:40 +0000 (18:35 +0000)
* Fixed doing a simple subdivide, rather than Catmull-Clark. Note that the first subdivision will still appear to be CC rather than simple, this is a bug we just have to live with for now.

source/blender/blenkernel/intern/multires.c

index 0f3ab5b..9ba5769 100644 (file)
@@ -469,6 +469,7 @@ void multiresModifier_subdivide(MultiresModifierData *mmd, Object *ob, int dista
                orig = CDDM_from_mesh(me, NULL);
                memset(&mmd_sub, 0, sizeof(MultiresModifierData));
                mmd_sub.lvl = mmd_sub.totlvl = mmd->lvl;
+               mmd_sub.simple = simple;
                mrdm = multires_dm_create_from_derived(&mmd_sub, 1, orig, ob, 0, 0);
                totsubvert = mrdm->getNumVerts(mrdm);
                totsubedge = mrdm->getNumEdges(mrdm);