[Bf-blender-cvs] [c9c51c07cfb] master: Fix light rotation slider in Lookdev popover being disabled

Pablo Dobarro noreply at git.blender.org
Sat Sep 19 18:08:29 CEST 2020


Commit: c9c51c07cfb77a96e720b28d01e91c3fecb0aa6d
Author: Pablo Dobarro
Date:   Sat Sep 19 17:33:09 2020 +0200
Branches: master
https://developer.blender.org/rBc9c51c07cfb77a96e720b28d01e91c3fecb0aa6d

Fix light rotation slider in Lookdev popover being disabled

Light rotation is supported both in world and view light orientation in
lookdev, so no reason to disable it.

Reviewed By: Blendify

Differential Revision: https://developer.blender.org/D8958

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 40f03c88743..3de9efd1250 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -5704,7 +5704,6 @@ class VIEW3D_PT_shading_lighting(Panel):
                 row = col.row()
                 row.prop(shading, "use_studiolight_view_rotation", text="", icon='WORLD', toggle=True)
                 row = row.row()
-                row.active = shading.use_world_space_lighting
                 row.prop(shading, "studiolight_rotate_z", text="Rotation")
 
                 col.prop(shading, "studiolight_intensity")



More information about the Bf-blender-cvs mailing list