diff options
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_constraint.py')
-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 04d43c28c27..db3bcc07389 100644 --- a/release/scripts/startup/bl_ui/properties_constraint.py +++ b/release/scripts/startup/bl_ui/properties_constraint.py @@ -954,7 +954,7 @@ class ConstraintButtonsSubPanel(Panel): if context.pose_bone: con = context.pose_bone.constraints[self.list_panel_index] else: - con = context.active.constraints[self.list_panel_index] + con = context.object.constraints[self.list_panel_index] self.layout.context_pointer_set("constraint", con) return con |