Fix related #36824: Shrinkwrap modifier 'Subsurf Levels' doesn't seem to do anything
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Sep 2013 09:51:02 +0000 (09:51 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Sep 2013 09:51:02 +0000 (09:51 +0000)
Subsurf Levels only makes sense when using Projection mode,
so moved this option into if mode == 'PROJECTION' branch.

release/scripts/startup/bl_ui/properties_data_modifier.py

index 5d998ca0404e6fd7f3f6ee8f32d4844e64997439..9bfc14f1f282417d98b7e557f1dcec6a5c28a86e 100644 (file)
@@ -670,13 +670,17 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
 
         col = split.column()
         col.prop(md, "offset")
-        col.prop(md, "subsurf_levels")
 
         col = split.column()
         col.label(text="Mode:")
         col.prop(md, "wrap_method", text="")
 
         if md.wrap_method == 'PROJECT':
+            split = layout.split()
+            col = split.column()
+            col.prop(md, "subsurf_levels")
+            col = split.column()
+
             col.prop(md, "project_limit", text="Limit")
             split = layout.split(percentage=0.25)