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-126040 improve preventing edits #2986

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

pierrebai-adsk
Copy link
Collaborator

  • Add documentations about edit routing.
  • Make attribute editing not throw exception for now to avoid possibly destabilizing Maya.
  • Instead, attribute commands return null command when edits are prevented.
  • Make the commands use the pre-delcraed USD tokens (code cleanup)
  • Make the visibility command always apply routing by moving routing code in its constructor.
  • Add more unit test for edit routing, testing more commands.
  • Add more unit tests for command prevention

- Add documentations about edit routing.
- Make attribute editing not throw exception for now to avoid possibly destabilizing Maya.
- Instead, attribute commands return null command when edits are prevented.
- Make the commands use the pre-delcraed USD tokens (code cleanup)
- Make the visibility command always apply routing by moving routing code in its constructor.
- Add more unit test for edit routing, testing more commands.
- Add more unit tests for command prevention
@pierrebai-adsk pierrebai-adsk added the adsk Related to Autodesk plugin label Mar 29, 2023
@pierrebai-adsk pierrebai-adsk requested a review from vlasovi March 29, 2023 18:04
Copy link
Collaborator

@vlasovi vlasovi left a comment

Choose a reason for hiding this comment

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

LGTM

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 29, 2023
@seando-adsk seando-adsk added ufe-usd Related to UFE-USD plugin in Maya-Usd and removed adsk Related to Autodesk plugin labels Mar 30, 2023
@seando-adsk seando-adsk merged commit 8bdc174 into dev Mar 30, 2023
@seando-adsk seando-adsk deleted the bailp/MAYA-126040/improve-edit-prevention branch March 30, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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