Skip to content

Commit

Permalink
fix: remove set rotation from faux set_origin
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan-hm committed Apr 28, 2022
1 parent 0d61d74 commit e371881
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/set_origin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def execute(self, context):
(x_orig, y_orig, z_orig) = context.object.location

reference_obj.location = context.object.location
reference_obj.rotation_euler = context.object.rotation_euler

self.add_displace_modifier(reference_obj, 'X', x_dest - x_orig)
self.add_displace_modifier(reference_obj, 'Y', y_dest - y_orig)
Expand Down

0 comments on commit e371881

Please sign in to comment.