From 827c9e2499f187fbaa971275ef835afd09a0b7fc Mon Sep 17 00:00:00 2001 From: Jonathan Feldstein Date: Tue, 6 Sep 2022 13:15:15 -0400 Subject: [PATCH] LOOKDEVX-826 | Remove erroneous TF_VERIFY. --- lib/mayaUsd/ufe/UsdUINodeGraphNode.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/mayaUsd/ufe/UsdUINodeGraphNode.cpp b/lib/mayaUsd/ufe/UsdUINodeGraphNode.cpp index b4c093ad26..66f714161c 100644 --- a/lib/mayaUsd/ufe/UsdUINodeGraphNode.cpp +++ b/lib/mayaUsd/ufe/UsdUINodeGraphNode.cpp @@ -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(); }