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.
This commit is contained in:
2019-05-19 17:19:30 +02:00
parent 36dbd141f0
commit 2da0d3db80

View 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()