diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_constraint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_constraint.py b/release/scripts/startup/bl_ui/properties_constraint.py index cbca5d9ea67..b4fab47fc08 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -102,7 +102,7 @@ class ConstraintButtonsPanel(Panel): if con.target.type == 'ARMATURE': col.prop_search(con, "subtarget", con.target.data, "bones", text="Bone") - if hasattr(con, "head_tail"): + if con.subtarget and hasattr(con, "head_tail"): row = col.row(align=True) row.use_property_decorate = False sub = row.row(align=True) |