Skip to content

Commit

Permalink
Clang format, with clang format 10 instead of 13.
Browse files Browse the repository at this point in the history
  • Loading branch information
krickw committed Feb 17, 2022
1 parent 44ec727 commit 9c7c652
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mayaUsd/render/vp2RenderDelegate/mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2441,8 +2441,8 @@ void HdVP2Mesh::_UpdateDrawItem(
// Important, update instance transforms after setting geometry on render items!
auto& oldInstanceCount = stateToCommit._renderItemData._instanceCount;
auto newInstanceCount = stateToCommit._instanceTransforms
? stateToCommit._instanceTransforms->length()
: oldInstanceCount;
? stateToCommit._instanceTransforms->length()
: oldInstanceCount;

// GPU instancing has been enabled. We cannot switch to consolidation
// without recreating render item, so we keep using GPU instancing.
Expand Down

0 comments on commit 9c7c652

Please sign in to comment.