[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21959] branches/blender2.5/blender/ release/ui/buttons_data_lamp.py: 2.5 Lamp Buttons:
Thomas Dinges
dingto at gmx.de
Tue Jul 28 07:26:02 CEST 2009
Revision: 21959
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21959
Author: dingto
Date: 2009-07-28 07:26:01 +0200 (Tue, 28 Jul 2009)
Log Message:
-----------
2.5 Lamp Buttons:
* Layout Fix for shadow panel.
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/buttons_data_lamp.py
Modified: branches/blender2.5/blender/release/ui/buttons_data_lamp.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-07-28 03:54:40 UTC (rev 21958)
+++ branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-07-28 05:26:01 UTC (rev 21959)
@@ -210,14 +210,14 @@
if lamp.shadow_ray_sampling_method == 'ADAPTIVE_QMC':
col.itemR(lamp, "shadow_adaptive_threshold", text="Threshold")
-
+ split.column()
+ elif lamp.shadow_ray_sampling_method == 'CONSTANT_QMC':
+ split.column()
elif lamp.shadow_ray_sampling_method == 'CONSTANT_JITTERED':
col = split.column()
col.itemR(lamp, "umbra")
col.itemR(lamp, "dither")
col.itemR(lamp, "jitter")
- else:
- split.column()
if lamp.shadow_method == 'BUFFER_SHADOW':
col = layout.column()
More information about the Bf-blender-cvs
mailing list