From 27f1d2dea4c79faccd39fe689ffff73252fd78ae Mon Sep 17 00:00:00 2001 From: David Cattermole Date: Sun, 5 Feb 2023 23:24:57 +1100 Subject: [PATCH] Name the boolean value for the parameter name. To make the code more readable. --- src/mmSolver/mayahelper/maya_attr.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mmSolver/mayahelper/maya_attr.cpp b/src/mmSolver/mayahelper/maya_attr.cpp index dbbcfa6bf..2666e032e 100644 --- a/src/mmSolver/mayahelper/maya_attr.cpp +++ b/src/mmSolver/mayahelper/maya_attr.cpp @@ -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);