From 6de12ac8530655c771c5c62c74f2b26a79d50a00 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Sun, 7 Nov 2010 20:48:09 +0000 Subject: [PATCH] UI Scripts World: * Remove poll, not needed anymore. --- release/scripts/ui/properties_world.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/release/scripts/ui/properties_world.py b/release/scripts/ui/properties_world.py index 7b636621253..76fb70f47d1 100644 --- a/release/scripts/ui/properties_world.py +++ b/release/scripts/ui/properties_world.py @@ -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="")