Skip to content

Commit

Permalink
Shifter: Data collector: adding parent_fullName and parent_localName …
Browse files Browse the repository at this point in the history
…data
  • Loading branch information
miquelcampos committed Apr 18, 2024
1 parent 38279de commit 10581f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions release/scripts/mgear/shifter/component/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2242,6 +2242,12 @@ def collect_build_data(self):
self.build_data["Squash"] = []
self.build_data["Settings"] = self.settings
self.build_data["jointRelatives"] = self.jointRelatives
if self.guide.parentComponent:
self.build_data["parent_fullName"] = self.guide.parentComponent.fullName
self.build_data["parent_localName"] = self.guide.parentLocalName
else:
self.build_data["parent_fullName"] = None
self.build_data["parent_localName"] = None

# joints
for j in self.jointList:
Expand Down

0 comments on commit 10581f9

Please sign in to comment.