Skip to content

Commit

Permalink
Fixed 2025 build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ppt-adsk committed Dec 17, 2024
1 parent 477c970 commit 22cc8c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/flowViewport/sceneIndex/fvpIsolateSelectSceneIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,12 @@ Dependencies instancedPrim(
bool isGeomSubset(const HdSceneIndexPrim& prim) {
// HYDRA-1339: PiPrototypePropagatingSceneIndex removes GeomSubset type
// from Hydra prims
#if PXR_VERSION >= 2403
return (prim.primType == HdPrimTypeTokens->geomSubset) ||
HdGeomSubsetSchema::GetFromParent(prim.dataSource).IsDefined();
#else
return false;
#endif
}

}
Expand Down

0 comments on commit 22cc8c0

Please sign in to comment.