Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Vazquez <venomgfx@gmail.com>2019-05-19 18:19:30 +0300
committerPablo Vazquez <venomgfx@gmail.com>2019-05-19 18:19:30 +0300
commit2da0d3db80db964ff3db0e19175df9f9c079d737 (patch)
tree3c20bf184695eb098318c1c52b23ce396cf22289
parent36dbd141f0c72bda07842550760b6b3133caf6a7 (diff)
UI: Use "Viewport" instead of View in Subdivision Modifier.
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.
-rw-r--r--release/scripts/startup/bl_ui/properties_data_modifier.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py
index 668dd61315d..754cac25f3e 100644
--- a/release/scripts/startup/bl_ui/properties_data_modifier.py
+++ b/release/scripts/startup/bl_ui/properties_data_modifier.py
@@ -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()