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:
authorHans Goudey <h.goudey@me.com>2020-06-19 23:07:20 +0300
committerHans Goudey <h.goudey@me.com>2020-06-19 23:07:20 +0300
commita089286d7b96db2bc1570a9b90e0ff9b098a69ba (patch)
treed87e11aa6ead915fe94f1bf4085350b0225e1bc1 /release/scripts/startup/bl_ui/properties_constraint.py
parentbb4cef71eeaf36aa61187d47b8a8ae06ba55f7c0 (diff)
UI: Fix all constraint subpanels empty
Silly typo in earlier fix
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_constraint.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_constraint.py2
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