From 610f2ce099cceab4f2727e7df0774aa39d7ea815 Mon Sep 17 00:00:00 2001 From: Hamed Sabri Date: Tue, 12 May 2020 14:34:58 -0400 Subject: [PATCH] Address feedback: break out of the loop once the condition is met. --- lib/usd/utils/util.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/usd/utils/util.cpp b/lib/usd/utils/util.cpp index bfbb1c6dd0..029070420a 100644 --- a/lib/usd/utils/util.cpp +++ b/lib/usd/utils/util.cpp @@ -111,6 +111,7 @@ isInternalReference(const SdfPrimSpecHandle& primSpec) // this will be empty in the case of an internal reference. if (ref.GetAssetPath().empty()) { isInternalRef = true; + break; } }