Revision: 21044
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21044
Author:   aligorith
Date:     2009-06-21 02:17:45 +0200 (Sun, 21 Jun 2009)

Log Message:
-----------
2.5 - Fixed error with Constraint Buttons 

Incorrectly declared icon was resulting in very verbose warning output in the 
console...

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

Modified: branches/blender2.5/blender/release/ui/buttons_object_constraint.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_object_constraint.py 
2009-06-21 00:01:37 UTC (rev 21043)
+++ branches/blender2.5/blender/release/ui/buttons_object_constraint.py 
2009-06-21 00:17:45 UTC (rev 21044)
@@ -67,7 +67,7 @@
                                row.itemR(con, "target_space", text="")
 
                        if target and owner:
-                               row.itemL(icon=8) # XXX
+                               row.itemL(icon="ICON_ARROW_LEFTRIGHT")
 
                        if owner:
                                row.itemR(con, "owner_space", text="")
@@ -547,4 +547,4 @@
                        self.draw_constraint(con)
 
 bpy.types.register(OBJECT_PT_constraints)
-bpy.types.register(BONE_PT_constraints)
\ No newline at end of file
+bpy.types.register(BONE_PT_constraints)


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

Reply via email to