Skip to content

Commit

Permalink
Change from review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk committed Aug 29, 2022
1 parent 12f14bf commit 35b4ab1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/mayaUsd/ufe/UsdConnectionHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ _GetShaderNodeDef(const PXR_NS::UsdPrim& prim, const PXR_NS::TfToken& attrName)
return registry.GetShaderNodeByIdentifier(srcInfoId);
}

void _SendIssue2013NotifWorkaround(const UsdPrim& usdPrim)
void _SendStrongConnectionChangeNotification(const UsdPrim& usdPrim)
{
// See https://github.com/PixarAnimationStudios/USD/issues/2013 for details.
//
Expand Down Expand Up @@ -214,7 +214,7 @@ bool UsdConnectionHandler::createConnection(
}

if (retVal) {
_SendIssue2013NotifWorkaround(dstApi.GetPrim());
_SendStrongConnectionChangeNotification(dstApi.GetPrim());
}

return retVal;
Expand Down Expand Up @@ -263,7 +263,7 @@ bool UsdConnectionHandler::deleteConnection(
}

if (retVal) {
_SendIssue2013NotifWorkaround(dstUsdAttr->usdPrim());
_SendStrongConnectionChangeNotification(dstUsdAttr->usdPrim());
}

return retVal;
Expand Down

0 comments on commit 35b4ab1

Please sign in to comment.