Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2009-06-07 19:40:14 +0400
committerThomas Dinges <blender@dingto.org>2009-06-07 19:40:14 +0400
commit51740b57b985de11015f4a9cda9dbe9ae108f2c7 (patch)
treee60ccc73b10e7bd91a5dca3853a86d0a6ec9bc01 /release/ui
parentbb06e311a18518740edec42dce26d377ab16f0d7 (diff)
2.5 Buttons:
* Small stamp tweaks by William Reynish. * Moved the modifier tab next to constraints.
Diffstat (limited to 'release/ui')
-rw-r--r--release/ui/buttons_scene.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/release/ui/buttons_scene.py b/release/ui/buttons_scene.py
index d7f215f2297..f4e2cebfa4b 100644
--- a/release/ui/buttons_scene.py
+++ b/release/ui/buttons_scene.py
@@ -209,13 +209,15 @@ class RENDER_PT_stamp(RenderButtonsPanel):
sub = split.column()
sub.itemR(rd, "render_stamp")
- sub.itemR(rd, "stamp_foreground")
- sub.itemR(rd, "stamp_background")
- sub.itemR(rd, "stamp_font_size", text="Font Size")
+ colsub = sub.column()
+ colsub.active = rd.render_stamp
+ colsub.itemR(rd, "stamp_foreground")
+ colsub.itemR(rd, "stamp_background")
+ colsub.itemR(rd, "stamp_font_size", text="Font Size")
bpy.types.register(RENDER_PT_render)
bpy.types.register(RENDER_PT_dimensions)
bpy.types.register(RENDER_PT_antialiasing)
bpy.types.register(RENDER_PT_shading)
bpy.types.register(RENDER_PT_output)
-bpy.types.register(RENDER_PT_stamp)
+bpy.types.register(RENDER_PT_stamp) \ No newline at end of file