forked from bartvdbraak/blender
2.5 Buttons:
* Changed some checkboxes into Toggle Buttons.
This commit is contained in:
parent
e1681fcf35
commit
3e6d23562c
@ -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")
|
||||
row.itemR(rd, "do_sequence")
|
||||
row.itemR(rd, "do_composite", toggle=True)
|
||||
row.itemR(rd, "do_sequence", toggle=True)
|
||||
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()
|
||||
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")
|
||||
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)
|
||||
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")
|
||||
row.itemR(world, "paper_sky")
|
||||
row.itemR(world, "real_sky")
|
||||
row.itemR(world, "blend_sky", toggle=True)
|
||||
row.itemR(world, "paper_sky", toggle=True)
|
||||
row.itemR(world, "real_sky", toggle=True)
|
||||
|
||||
row = layout.row()
|
||||
row.column().itemR(world, "horizon_color")
|
||||
|
Loading…
Reference in New Issue
Block a user