Skip to content

Commit

Permalink
MAYA-113820: [Github 1543] Unloaded prims should appear in the outliner
Browse files Browse the repository at this point in the history
* clang format
  • Loading branch information
seando-adsk committed Dec 3, 2021
1 parent 2c14ebe commit 10a12a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/mayaUsd/ufe/ProxyShapeHierarchy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ PXR_NAMESPACE_USING_DIRECTIVE

namespace {

// We want to display the unloaded prims, so removed UsdPrimIsLoaded from
// the default UsdPrimDefaultPredicate.
const Usd_PrimFlagsConjunction MayaUsdPrimDefaultPredicate = UsdPrimIsActive
&& UsdPrimIsDefined && !UsdPrimIsAbstract;
// We want to display the unloaded prims, so removed UsdPrimIsLoaded from
// the default UsdPrimDefaultPredicate.
const Usd_PrimFlagsConjunction MayaUsdPrimDefaultPredicate
= UsdPrimIsActive && UsdPrimIsDefined && !UsdPrimIsAbstract;

UsdPrimSiblingRange getUSDFilteredChildren(
const UsdPrim& prim,
Expand Down
8 changes: 4 additions & 4 deletions lib/mayaUsd/ufe/UsdHierarchy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ PXR_NAMESPACE_USING_DIRECTIVE

namespace {

// We want to display the unloaded prims, so removed UsdPrimIsLoaded from
// the default UsdPrimDefaultPredicate.
const Usd_PrimFlagsConjunction MayaUsdPrimDefaultPredicate = UsdPrimIsActive
&& UsdPrimIsDefined && !UsdPrimIsAbstract;
// We want to display the unloaded prims, so removed UsdPrimIsLoaded from
// the default UsdPrimDefaultPredicate.
const Usd_PrimFlagsConjunction MayaUsdPrimDefaultPredicate
= UsdPrimIsActive && UsdPrimIsDefined && !UsdPrimIsAbstract;

UsdPrimSiblingRange getUSDFilteredChildren(
const MayaUsd::ufe::UsdSceneItem::Ptr usdSceneItem,
Expand Down

0 comments on commit 10a12a6

Please sign in to comment.