Fix #24321: duplicate of multiresolution modifier error
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 19 Oct 2010 07:10:12 +0000 (07:10 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 19 Oct 2010 07:10:12 +0000 (07:10 +0000)
source/blender/modifiers/intern/MOD_multires.c

index 758809f..96dcde1 100644 (file)
@@ -59,6 +59,8 @@ static void copyData(ModifierData *md, ModifierData *target)
        tmmd->sculptlvl = mmd->sculptlvl;
        tmmd->renderlvl = mmd->renderlvl;
        tmmd->totlvl = mmd->totlvl;
+       tmmd->simple = mmd->simple;
+       tmmd->flags = mmd->flags;
 }
 
 static DerivedMesh *applyModifier(ModifierData *md, Object *ob, DerivedMesh *dm,