Revision: 20449
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=20449
Author:   broken
Date:     2009-05-27 13:21:34 +0200 (Wed, 27 May 2009)

Log Message:
-----------
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.

Modified Paths:
--------------
    branches/blender2.5/blender/release/ui/buttons_scene.py

Modified: branches/blender2.5/blender/release/ui/buttons_scene.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_scene.py     2009-05-27 
09:37:48 UTC (rev 20448)
+++ branches/blender2.5/blender/release/ui/buttons_scene.py     2009-05-27 
11:21:34 UTC (rev 20449)
@@ -108,8 +108,8 @@
                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 @@
 
                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="")
                


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to