UI: Use "Viewport" instead of View in Subdivision Modifier.
authorPablo Vazquez <venomgfx@gmail.com>
Sun, 19 May 2019 15:19:30 +0000 (17:19 +0200)
committerPablo Vazquez <venomgfx@gmail.com>
Sun, 19 May 2019 15:19:30 +0000 (17:19 +0200)
Cosmetic change for consistency according to the naming guidelines in 2.80.

Also place Render first, Viewport later to match other areas in Blender
such as the sampling panel in EEVEE/Cycles.

release/scripts/startup/bl_ui/properties_data_modifier.py

index 668dd61..754cac2 100644 (file)
@@ -1014,18 +1014,23 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
             scene.cycles.feature_set == 'EXPERIMENTAL'
         )
         if show_adaptive_options:
-            col.label(text="View:")
-            col.prop(md, "levels", text="Levels")
             col.label(text="Render:")
             col.prop(ob.cycles, "use_adaptive_subdivision", text="Adaptive")
             if ob.cycles.use_adaptive_subdivision:
                 col.prop(ob.cycles, "dicing_rate")
             else:
                 col.prop(md, "render_levels", text="Levels")
+
+            col.separator()
+
+            col.label(text="Viewport:")
+            col.prop(md, "levels", text="Levels")
         else:
             col.label(text="Subdivisions:")
-            col.prop(md, "levels", text="View")
-            col.prop(md, "render_levels", text="Render")
+            sub = col.column(align=True)
+            sub.prop(md, "render_levels", text="Render")
+            sub.prop(md, "levels", text="Viewport")
+
             col.prop(md, "quality")
 
         col = split.column()