View3DShading popover: Naming + alignment
This commit is contained in:
parent
d706101559
commit
19d651ca9a
|
@ -3535,7 +3535,7 @@ class VIEW3D_PT_shading(Panel):
|
|||
row = col.split(0.4)
|
||||
row.active = not shading.show_xray
|
||||
row.prop(shading, "show_cavity")
|
||||
sub = row.column()
|
||||
sub = row.column(align=True)
|
||||
sub.active = not shading.show_xray and shading.show_cavity
|
||||
sub.prop(shading, "cavity_ridge_factor")
|
||||
sub.prop(shading, "cavity_valley_factor")
|
||||
|
|
|
@ -194,9 +194,9 @@ const EnumPropertyItem rna_enum_shading_type_items[] = {
|
|||
};
|
||||
|
||||
const EnumPropertyItem rna_enum_viewport_lighting_items[] = {
|
||||
{V3D_LIGHTING_FLAT, "FLAT", 0, "Flat Lighting", "Display using flat lighting"},
|
||||
{V3D_LIGHTING_STUDIO, "STUDIO", 0, "Studio Lighting", "Display using studio lighting"},
|
||||
{V3D_LIGHTING_MATCAP, "MATCAP", 0, "Matcap", "Display using matcap material and lighting"},
|
||||
{V3D_LIGHTING_FLAT, "FLAT", 0, "Flat", "Display using flat lighting"},
|
||||
{V3D_LIGHTING_STUDIO, "STUDIO", 0, "Studio", "Display using studio lighting"},
|
||||
{V3D_LIGHTING_MATCAP, "MATCAP", 0, "MatCap", "Display using matcap material and lighting"},
|
||||
{0, NULL, 0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue