We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9055125 commit 78607daCopy full SHA for 78607da
pxr/usdImaging/usdImaging/piPrototypeSceneIndex.cpp
@@ -274,13 +274,13 @@ UsdImaging_PiPrototypeSceneIndex::GetPrim(const SdfPath &primPath) const
274
275
TfSmallVector<HdContainerDataSourceHandle, 4> dsVec;
276
277
- if (_prototypeRootOverlaySource) {
+ if (_prototypeRootOverlaySource && primPath == _prototypeRoot) {
278
dsVec.emplace_back(_prototypeRootOverlaySource);
279
}
280
281
dsVec.emplace_back(prim.dataSource);
282
283
- if (_prototypeRootUnderlaySource) {
+ if (_prototypeRootUnderlaySource && primPath == _prototypeRoot) {
284
dsVec.emplace_back(_prototypeRootUnderlaySource);
285
286
if (_underlaySource) {
0 commit comments