Fix: UI: Hide studiolight world orientation button for Cycles
This option is not available in EEVEE anymore. Limit the visibility to Workbench. Fix #124521 Pull Request: https://projects.blender.org/blender/blender/pulls/124717
This commit is contained in:
committed by
Clément Foucault
parent
4d6ba7604d
commit
c7bcd1137f
@@ -6918,7 +6918,7 @@ class VIEW3D_PT_shading_lighting(Panel):
|
||||
|
||||
engine = context.scene.render.engine
|
||||
row = col.row()
|
||||
if engine != 'BLENDER_EEVEE_NEXT':
|
||||
if engine == 'BLENDER_WORKBENCH':
|
||||
row.prop(shading, "use_studiolight_view_rotation", text="", icon='WORLD', toggle=True)
|
||||
row = row.row()
|
||||
row.prop(shading, "studiolight_rotate_z", text="Rotation")
|
||||
|
||||
Reference in New Issue
Block a user