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 hierarchy handler chain of responsibility child filter bug. #1810

Merged
merged 1 commit into from
Nov 8, 2021

Conversation

ppt-adsk
Copy link
Collaborator

@ppt-adsk ppt-adsk commented Nov 8, 2021

No description provided.

@ppt-adsk
Copy link
Collaborator Author

ppt-adsk commented Nov 8, 2021

Fix done with Test Driven Development (TDD): test written first, test failed, fix implemented, test passes.

Ufe::Hierarchy::ChildFilter PulledObjectHierarchyHandler::childFilter() const { return {}; }
Ufe::Hierarchy::ChildFilter PulledObjectHierarchyHandler::childFilter() const
{
return _mayaHierarchyHandler->childFilter();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

In the chain of responsibility we cannot assume that Maya handlers have no child filters: the proxy shape hierarchy handler adds a child filter flag for inactive prims, since its children are USD prims.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Looks good.

@kxl-adsk kxl-adsk merged commit 14876ab into dev Nov 8, 2021
@kxl-adsk kxl-adsk deleted the tremblp/MAYA-114677/fix_proxy_shape_hierarchy branch November 8, 2021 13:31
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.

4 participants