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:
@@ -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="")
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user