[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32931] trunk/blender/release/scripts/ui/ properties_world.py: UI Scripts World:
Thomas Dinges
dingto at gmx.de
Sun Nov 7 21:49:01 CET 2010
Revision: 32931
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32931
Author: dingto
Date: 2010-11-07 21:48:09 +0100 (Sun, 07 Nov 2010)
Log Message:
-----------
UI Scripts World:
* Remove poll, not needed anymore.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/properties_world.py
Modified: trunk/blender/release/scripts/ui/properties_world.py
===================================================================
--- trunk/blender/release/scripts/ui/properties_world.py 2010-11-07 18:16:27 UTC (rev 32930)
+++ trunk/blender/release/scripts/ui/properties_world.py 2010-11-07 20:48:09 UTC (rev 32931)
@@ -139,11 +139,6 @@
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="")
More information about the Bf-blender-cvs
mailing list