Skip to content

Commit

Permalink
Merge pull request #2582 from Autodesk/feldstj/remove_tf_verify
Browse files Browse the repository at this point in the history
LOOKDEVX-826 | Remove erroneous TF_VERIFY.
  • Loading branch information
seando-adsk authored Sep 7, 2022
2 parents 53e5597 + 827c9e2 commit 8bf8a98
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mayaUsd/ufe/UsdUINodeGraphNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ bool UsdUINodeGraphNode::hasPosition() const
PXR_NAMESPACE_USING_DIRECTIVE
const UsdPrim prim = fItem->prim();
UsdUINodeGraphNodeAPI posApi(prim);
TF_VERIFY(posApi);
if (!posApi) {
return false;
}
UsdAttribute attr = posApi.GetPosAttr();
return attr.IsValid();
}
Expand Down

0 comments on commit 8bf8a98

Please sign in to comment.