From a09d85cb2abbbc538dfa5f6523b4b592467e9ab3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 5 Oct 2023 20:27:14 +0200 Subject: [PATCH] EEVEE-Next: Make the shading lighting panel accessible --- scripts/startup/bl_ui/space_view3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/space_view3d.py b/scripts/startup/bl_ui/space_view3d.py index fd4fe024827..4994d8f6afe 100644 --- a/scripts/startup/bl_ui/space_view3d.py +++ b/scripts/startup/bl_ui/space_view3d.py @@ -6386,7 +6386,7 @@ class VIEW3D_PT_shading_lighting(Panel): def poll(cls, context): shading = VIEW3D_PT_shading.get_shading(context) engine = context.scene.render.engine - return shading.type in {'SOLID', 'MATERIAL'} or engine == 'BLENDER_EEVEE' and shading.type == 'RENDERED' + return shading.type in {'SOLID', 'MATERIAL'} or engine in {'BLENDER_EEVEE', 'BLENDER_EEVEE_NEXT'} and shading.type == 'RENDERED' def draw(self, context): layout = self.layout