UI: Fix all constraint subpanels empty

Silly typo in earlier fix
This commit is contained in:
Hans Goudey
2020-06-19 16:07:20 -04:00
parent bb4cef71ee
commit a089286d7b

View File

@@ -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