Cleanup: redundant check for shader type

Pull Request: https://projects.blender.org/blender/blender/pulls/143784
This commit is contained in:
Habib Gahbiche
2025-08-01 13:38:54 +02:00
parent 4a36f5b2dc
commit 53380ed8b2
2 changed files with 1 additions and 4 deletions

View File

@@ -99,9 +99,6 @@ class NODE_HT_header(Header):
if snode_id:
row = layout.row()
if snode.shader_type != 'WORLD':
row.prop(snode_id, "use_nodes")
if world and world.use_eevee_finite_volume:
row.operator("world.convert_volume_to_mesh", emboss=False, icon='WORLD', text="Convert Volume")