Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with multiple filters #4001

Closed

Conversation

JGamache-autodesk
Copy link
Collaborator

No description provided.

@@ -188,12 +188,14 @@ Ufe::SceneItemList ProxyShapeHierarchy::filteredChildren(const ChildFilter& chil

// Note: for now the only child filter flag we support is "Inactive Prims".
// See UsdHierarchyHandler::childFilter()
if ((childFilter.size() == 1) && (childFilter.front().name == "InactivePrims")) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could be more than one if another UFE data model cares about something more than "InactivePrims", especially if filters are alphabetically sorted and that other UFE data model cares about "Hidden" primitives.

@pierrebai-adsk
Copy link
Collaborator

The issue is already fixed by this PR: #3987

(Which is the true change that was meant to go with the Maya change.)

@JGamache-autodesk
Copy link
Collaborator Author

OK. Thanks! Withdrawing this PR then.

@JGamache-autodesk JGamache-autodesk deleted the gamaj/LOOKDEVX-3599/fix_child_filtering branch November 15, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants