EEVEE-Next: Make the shading lighting panel accessible

This commit is contained in:
Clément Foucault 2023-10-05 20:27:14 +02:00
parent 026b81ce7c
commit a09d85cb2a
1 changed files with 1 additions and 1 deletions

View File

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