Skip to content

Commit

Permalink
Address feedback: break out of the loop once the condition is met.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamed Sabri committed May 12, 2020
1 parent a305af9 commit 610f2ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/usd/utils/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 610f2ce

Please sign in to comment.