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:
authorMatt Ebb <matt@mke3.net>2009-05-27 15:21:34 +0400
committerMatt Ebb <matt@mke3.net>2009-05-27 15:21:34 +0400
commite49c0b495a03735c704d139bbc4f28cd5ae99fe2 (patch)
tree51ae3b7aed7cf89c5787a762f93eac0cac7b1c9b /release
parent3e6d23562cb1b8ce8b957097450c2e68b6f812b8 (diff)
Reverted last buttons commit after chatting with Thomas :)
note: The new 'Toggle' options in the UI api should be avoided for normal text buttons, and used sparingly otherwise. We want to avoid having two inconsistent appearances for the same type of buttons.
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_scene.py22
-rw-r--r--release/ui/buttons_world.py6
2 files changed, 14 insertions, 14 deletions
diff --git a/release/ui/buttons_scene.py b/release/ui/buttons_scene.py
index b259f297d68..7b23ae03088 100644
--- a/release/ui/buttons_scene.py
+++ b/release/ui/buttons_scene.py
@@ -108,8 +108,8 @@ class RENDER_PT_render(RenderButtonsPanel):
row.item_booleanO("SCREEN_OT_render", "anim", True, text="Render Animation", icon=111)
row = layout.row()
- row.itemR(rd, "do_composite", toggle=True)
- row.itemR(rd, "do_sequence", toggle=True)
+ row.itemR(rd, "do_composite")
+ row.itemR(rd, "do_sequence")
if rd.do_composite:
row = layout.row()
row.itemR(rd, "free_image_textures")
@@ -188,15 +188,15 @@ class RENDER_PT_stamp(RenderButtonsPanel):
split = layout.split()
- sub = split.column(align=True)
- sub.itemR(rd, "stamp_time", text="Time", toggle=True)
- sub.itemR(rd, "stamp_date", text="Date", toggle=True)
- sub.itemR(rd, "stamp_frame", text="Frame", toggle=True)
- sub.itemR(rd, "stamp_camera", text="Scene", toggle=True)
- sub.itemR(rd, "stamp_marker", text="Marker", toggle=True)
- sub.itemR(rd, "stamp_filename", text="Filename", toggle=True)
- sub.itemR(rd, "stamp_sequence_strip", text="Seq. Strip", toggle=True)
- sub.itemR(rd, "stamp_note", text="Note", toggle=True)
+ sub = split.column()
+ sub.itemR(rd, "stamp_time", text="Time")
+ sub.itemR(rd, "stamp_date", text="Date")
+ sub.itemR(rd, "stamp_frame", text="Frame")
+ sub.itemR(rd, "stamp_camera", text="Scene")
+ sub.itemR(rd, "stamp_marker", text="Marker")
+ sub.itemR(rd, "stamp_filename", text="Filename")
+ sub.itemR(rd, "stamp_sequence_strip", text="Seq. Strip")
+ sub.itemR(rd, "stamp_note", text="Note")
if (rd.stamp_note):
sub.itemR(rd, "stamp_note_text", text="")
diff --git a/release/ui/buttons_world.py b/release/ui/buttons_world.py
index ff14486d05e..401fbcb0c22 100644
--- a/release/ui/buttons_world.py
+++ b/release/ui/buttons_world.py
@@ -17,9 +17,9 @@ class WORLD_PT_world(WorldButtonsPanel):
layout = self.layout
row = layout.row()
- row.itemR(world, "blend_sky", toggle=True)
- row.itemR(world, "paper_sky", toggle=True)
- row.itemR(world, "real_sky", toggle=True)
+ row.itemR(world, "blend_sky")
+ row.itemR(world, "paper_sky")
+ row.itemR(world, "real_sky")
row = layout.row()
row.column().itemR(world, "horizon_color")