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

MAYA-129169 improve the behavior of duplication vs payload #3065

Merged
merged 1 commit into from
May 8, 2023

Commits on May 5, 2023

  1. MAYA-129169 improve the behavior of duplication vs payload

    Handling all possible scenarios is potentially impossible given that our Maya-level view are of fully composed prims. So when Maya requests to duplicate a prim, we get a simple request to duplicate whatever is at a given UFE path. In USD, that could be in the stage, in a payload, in a reference or a combination of these. Plus, given composed opinions from multiple layers, it could be a complex combination.
    
    This change slightly improve the behaviour to handle some simple the cases.
    
    - Add heuristics to try to do the right thing when payloads are involved.
    - Make sure to always at least keep the defining layer, in case the heuristic thinks it should be rejected.
    - Added a unit test for duplicate with payload.
    pierrebai-adsk committed May 5, 2023
    Configuration menu
    Copy the full SHA
    8231bd9 View commit details
    Browse the repository at this point in the history