Skip to content

Commit

Permalink
fix: fix reference/target object parenting in circular_array operator
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed May 7, 2022
1 parent 9efae25 commit 7df4058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions power_mods/circular_array.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def finish(self, context):
move_to_utils_collection(self.rotator_obj)

self.select_reference_obj(context)
self.reference_obj.parent = self.rotator_obj
self.reference_obj.matrix_parent_inverse = self.rotator_obj.matrix_world.inverted()
self.rotator_obj.parent = self.reference_obj
self.rotator_obj.matrix_parent_inverse = self.reference_obj.matrix_world.inverted()

unregister_draw_handler()

Expand Down

0 comments on commit 7df4058

Please sign in to comment.