diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-06-21 04:17:45 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-06-21 04:17:45 +0400 |
commit | 09e64c6e2cc0acea38000f57d100eb8338be86ee (patch) | |
tree | de63fe6c01f614db6c175bec900ee0f2f5995dbc /release/ui/buttons_object_constraint.py | |
parent | 001dab25d448e5aea93f7ee7026eb52f3230b927 (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/ui/buttons_object_constraint.py')
-rw-r--r-- | release/ui/buttons_object_constraint.py | 4 |
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) |