Skip to content

Commit

Permalink
Core: Applyop: fix create_proximity_constraint logic
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed May 2, 2024
1 parent 6cfe598 commit 261b2a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion release/scripts/mgear/core/applyop.py
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,8 @@ def find_next_available_index(node, attribute):
dup = pm.duplicate(shape, n="{}OrigTrans".format(shape), rc=True)[0]
shape_orig = pm.listRelatives(dup, s=True)[0]
shape_orig.rename("{}Orig".format(shape))
dup.visibility.set(0)
pm.parent(shape_orig, shape, shape=True, add=True)
pm.delete(dup)
shape_orig.intermediateObject.set(1)
shape_orig.worldMesh[0] >> shape.inMesh
else:
Expand Down

0 comments on commit 261b2a5

Please sign in to comment.