UI Scripts World:

* Remove poll, not needed anymore.
This commit is contained in:
Thomas Dinges 2010-11-07 20:48:09 +00:00
parent 6900d71ac6
commit 6de12ac853

@ -139,11 +139,6 @@ class WORLD_PT_indirect_lighting(WorldButtonsPanel, bpy.types.Panel):
bl_label = "Indirect Lighting"
COMPAT_ENGINES = {'BLENDER_RENDER'}
@classmethod
def poll(cls, context):
light = getattr(context.world, "light_settings", None)
return light
def draw_header(self, context):
light = context.world.light_settings
self.layout.prop(light, "use_indirect_light", text="")