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.
This commit is contained in:
Matt Ebb
2009-05-27 11:21:34 +00:00
parent 3e6d23562c
commit e49c0b495a
2 changed files with 14 additions and 14 deletions

View File

@@ -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="")

View File

@@ -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")