2.5 Lamp Buttons:
authorThomas Dinges <blender@dingto.org>
Tue, 28 Jul 2009 05:26:01 +0000 (05:26 +0000)
committerThomas Dinges <blender@dingto.org>
Tue, 28 Jul 2009 05:26:01 +0000 (05:26 +0000)
* Layout Fix for shadow panel.

release/ui/buttons_data_lamp.py

index 9c5b3dd15733da4412383b2bd90bdbea033ce7fd..abe78aca28fe86d99229daee853422ee5297907f 100644 (file)
@@ -210,14 +210,14 @@ class DATA_PT_shadow(DataButtonsPanel):
                                        
                                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()