Bugreport in IRC: Area lamp, "Constant jitterred" had wrong alignment
authorTon Roosendaal <ton@blender.org>
Tue, 14 Oct 2008 10:55:18 +0000 (10:55 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 14 Oct 2008 10:55:18 +0000 (10:55 +0000)
code, causing the "SamplesY" button to overlap others.

source/blender/src/buttons_shading.c

index 989684895c8cf0bb1406e63bf8946dcd7dd4633f..5687651a6c5da4ce6a66e47e8f1f02d57d4b6e22 100644 (file)
@@ -2750,6 +2750,7 @@ static void lamp_panel_spot(Object *ob, Lamp *la)
                                        uiDefButBitS(block, TOG, LA_SAMP_UMBRA, 0,"Umbra",                      100,90,200,19,&la->ray_samp_type, 0, 0, 0, 0, "Emphasis parts that are fully shadowed");
                                        uiDefButBitS(block, TOG, LA_SAMP_DITHER, 0,"Dither",                    100,70,100,19,&la->ray_samp_type, 0, 0, 0, 0, "Use 2x2 dithering for sampling");
                                        uiDefButBitS(block, TOG, LA_SAMP_JITTER, 0,"Noise",                     200,70,100,19,&la->ray_samp_type, 0, 0, 0, 0, "Use noise for sampling");
+                                       uiBlockEndAlign(block);
                                } else if (la->ray_samp_method == LA_SAMP_HALTON) {
                                        uiDefButF(block, NUM,0,"Threshold:",    100,90,200,19,  &la->adapt_thresh, 0.0, 1.0, 100, 0, "Threshold for adaptive sampling, to control what level is considered already in shadow");
                                }