Cleanup: RNA boolean names (use prefix conventions)
This commit is contained in:
@@ -4446,11 +4446,11 @@ class VIEW3D_PT_shading_lighting(Panel):
|
||||
prefs = context.preferences
|
||||
system = prefs.system
|
||||
|
||||
if not system.edit_studio_light:
|
||||
if not system.use_studio_light_edit:
|
||||
sub.scale_y = 0.6 # smaller studiolight preview
|
||||
sub.template_icon_view(shading, "studio_light", scale_popup=3.0)
|
||||
else:
|
||||
sub.prop(system, "edit_studio_light", text="Disable Studio Light Edit", icon='NONE', toggle=True)
|
||||
sub.prop(system, "use_studio_light_edit", text="Disable Studio Light Edit", icon='NONE', toggle=True)
|
||||
|
||||
col = split.column()
|
||||
col.operator("wm.studiolight_userpref_show", emboss=False, text="", icon='PREFERENCES')
|
||||
|
||||
Reference in New Issue
Block a user