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

EMSUSD-1258 extend the delete cmd edit routing #3747

Merged
merged 1 commit into from
May 6, 2024

Conversation

pierrebai-adsk
Copy link
Collaborator

The new code for doing edit routing using an edit target directly was not supporting the usual use-case of providing the target by the layer identifier or layer handle.

It also always allowed stronger opinions, even though we only need it if the target is within a reference or payload.

This fixes both issues: delete can now be routed like other commands by ID or layer handle and will only allow stronger opinions when targeting a non-local layer.

Extending using an edit target directly in all other commands will be done separately in the future.

The new code for doing edit routing using an edit target directly was
not supporting the usual use-case of providing the target by the layer
identifier or layer handle.

It also always allowed stronger opinions, even though we only need it if
the target is within a reference or payload.

This fixes both issues: delete can now be routed like other commands by
ID or layer handle and will only allow stronger opinions when targeting
a non-local layer.

Extending using an edit target directly in all other commands will be
done separatey in the future.
@pierrebai-adsk pierrebai-adsk added bug Something isn't working adsk Related to Autodesk plugin labels May 2, 2024
@pierrebai-adsk pierrebai-adsk self-assigned this May 2, 2024
@pierrebai-adsk
Copy link
Collaborator Author

@NickWu This enhance the PR that you opened related to targeting non-local layers for the delete command. The unit test that you added still passes, so I believe this is a pure backward-compatible enhancement.

@NickWu
Copy link

NickWu commented May 3, 2024

@NickWu This enhance the PR that you opened related to targeting non-local layers for the delete command. The unit test that you added still passes, so I believe this is a pure backward-compatible enhancement.

This looks good to me. Thanks.

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label May 3, 2024
@seando-adsk seando-adsk added ufe-usd Related to UFE-USD plugin in Maya-Usd and removed adsk Related to Autodesk plugin labels May 6, 2024
@seando-adsk seando-adsk merged commit 8ad4817 into dev May 6, 2024
11 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-1258/delete-edit-routing branch May 6, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-for-merge Development process is finished, PR is ready for merge ufe-usd Related to UFE-USD plugin in Maya-Usd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants