Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2009-06-21 04:17:45 +0400
committerJoshua Leung <aligorith@gmail.com>2009-06-21 04:17:45 +0400
commit09e64c6e2cc0acea38000f57d100eb8338be86ee (patch)
treede63fe6c01f614db6c175bec900ee0f2f5995dbc /release
parent001dab25d448e5aea93f7ee7026eb52f3230b927 (diff)
2.5 - Fixed error with Constraint Buttons
Incorrectly declared icon was resulting in very verbose warning output in the console...
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_object_constraint.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ui/buttons_object_constraint.py b/release/ui/buttons_object_constraint.py
index f4507f9149d..52e43406790 100644
--- a/release/ui/buttons_object_constraint.py
+++ b/release/ui/buttons_object_constraint.py
@@ -67,7 +67,7 @@ class ConstraintButtonsPanel(bpy.types.Panel):
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 @@ class BONE_PT_constraints(ConstraintButtonsPanel):
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)