Cleanup: pep8 & redundant vars
[blender.git] / release / scripts / startup / bl_operators / object.py
index 29b75e64fca7b6e307828a3459db24d4d06368c7..d1d2341a614b3f85a42c0fba5e8457b33dcc695c 100644 (file)
@@ -249,9 +249,9 @@ class SubdivisionSet(Operator):
                 if mod.type == 'MULTIRES':
                     if not relative:
                         if level > mod.total_levels:
-                           sub = level - mod.total_levels
-                           for i in range (0, sub):
-                               bpy.ops.object.multires_subdivide(modifier="Multires")
+                            sub = level - mod.total_levels
+                            for i in range (0, sub):
+                                bpy.ops.object.multires_subdivide(modifier="Multires")
 
                         if obj.mode == 'SCULPT':
                             if mod.sculpt_levels != level: