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

Removed all UFE interface data members from UFE handlers. #523

Merged
merged 1 commit into from
May 29, 2020

Conversation

ppt-adsk
Copy link
Collaborator

@ppt-adsk ppt-adsk commented May 25, 2020

UFE interface handlers should be pure factory objects for their interface objects. A few handler implementations were actually caching a single, shared interface object, which was a bad idea and caused obscure bugs with the shared interface object being re-purposed on multiple underlying data model objects. Now fixed, with test workarounds removed.

@ppt-adsk ppt-adsk requested a review from fowlertADSK May 25, 2020 20:04
@kxl-adsk kxl-adsk added the ufe-usd Related to UFE-USD plugin in Maya-Usd label May 25, 2020
@ppt-adsk ppt-adsk requested a review from robthebloke May 26, 2020 14:19
Copy link
Contributor

@fowlertADSK fowlertADSK left a comment

Choose a reason for hiding this comment

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

LGTM!
I overlap with one of the files (I changed heirarchy handler myself) so I'll just wait for this change to go through and will take it instead.

@kxl-adsk kxl-adsk merged commit a1a3871 into dev May 29, 2020
@kxl-adsk kxl-adsk deleted the tremblp/MAYA-92350/no_ufe_handler_interface_caching branch May 29, 2020 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ufe-usd Related to UFE-USD plugin in Maya-Usd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants