Skip to content

Commit

Permalink
Name the boolean value for the parameter name.
Browse files Browse the repository at this point in the history
To make the code more readable.
  • Loading branch information
david-cattermole committed Feb 5, 2023
1 parent 95b6190 commit 27f1d2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mmSolver/mayahelper/maya_attr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ MPlug Attr::getPlug() {
MObject nodeObj = Attr::getObject();
MString attrName = Attr::getAttrName();
MFnDependencyNode dependsNode(nodeObj, &status);
MPlug plug = dependsNode.findPlug(attrName, true, &status);
MPlug plug =
dependsNode.findPlug(attrName, /*wantNetworkedPlug=*/true, &status);
if (status != MStatus::kSuccess) {
// MString name = Attr::getName();
// MMSOLVER_WRN("Attribute cannot be found; " << name);
Expand Down

0 comments on commit 27f1d2d

Please sign in to comment.