Cleanup: RNA boolean names (use prefix conventions)

This commit is contained in:
2019-02-11 17:49:35 +11:00
parent 826d9ac827
commit 42368a2321
16 changed files with 31 additions and 31 deletions

View File

@@ -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')