Skip to content

Commit

Permalink
Merge pull request #150 from dmunix/ISSUE-149-RBFManager_drivenContro…
Browse files Browse the repository at this point in the history
…lName

RBFManager: check if drivenControlName is valid before testing scene
  • Loading branch information
miquelcampos committed Jan 12, 2023
2 parents b6b45a9 + ba17b7c commit 2032e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/scripts/mgear/rigbits/weightNode_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def createRBFFromInfo(weightNodeInfo_dict):
driverControlPoseInfo = weightInfo.pop(rbf_node.DRIVER_POSES_INFO_ATTR,
{})

if not mc.objExists(drivenControlName):
if drivenControlName is not None and not mc.objExists(drivenControlName):
skipped_nodes.append(drivenControlName)
continue

Expand Down

0 comments on commit 2032e29

Please sign in to comment.