Skip to content

Commit

Permalink
Shifter: add_match_ref now will use locators when build on WIP mode #445
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcampos committed Feb 7, 2025
1 parent d42a2b3 commit ba6228d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion release/scripts/mgear/shifter/component/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,11 @@ def add_match_ref(self, ctl, parent, name, cnx=True):
dagNode: match transform node
"""
# create match
match = primitive.addTransform(
if self.WIP:
add_match = primitive.addLocator
else:
add_match = primitive.addTransform
match = add_match(
parent, self.getName(name), transform.getTransform(ctl)
)

Expand Down

0 comments on commit ba6228d

Please sign in to comment.