Fix #32306: Applying location or rotation scales sculpt data
authorSergey Sharybin <sergey.vfx@gmail.com>
Sat, 11 Aug 2012 16:20:30 +0000 (16:20 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sat, 11 Aug 2012 16:20:30 +0000 (16:20 +0000)
source/blender/editors/object/object_transform.c

index 83d92b9df27d14e1ad861a79911332699764ba44..f943c83f4ed99ab102ef2cb12a4508fbd8210dc4 100644 (file)
@@ -477,7 +477,8 @@ static int apply_objects_internal(bContext *C, ReportList *reports, int apply_lo
                        Mesh *me = ob->data;
                        MVert *mvert;
 
-                       multiresModifier_scale_disp(scene, ob);
+                       if (apply_scale)
+                               multiresModifier_scale_disp(scene, ob);
                        
                        /* adjust data */
                        mvert = me->mvert;