Skip to content

Commit

Permalink
Fix #2149. When building the requestedIndicesMap in one case the shif…
Browse files Browse the repository at this point in the history
…t by minIndex was missing.
  • Loading branch information
mtavenrath committed Jan 16, 2023
1 parent 59eaff4 commit f5fa375
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/instanceAdapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2626,7 +2626,7 @@ UsdImagingInstanceAdapter::GetScenePrimPaths(

// set bits for all requested indices to true
for (size_t i = 0; i < instanceIndices.size(); i++) {
requestedIndicesMap[instanceIndices[i]] = i;
requestedIndicesMap[instanceIndices[i] - minIdx] = i;
}

result.resize(instanceIndices.size());
Expand Down

0 comments on commit f5fa375

Please sign in to comment.