-
Notifications
You must be signed in to change notification settings - Fork 32
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
Workfiles tool: Fix update of context change #374
Conversation
Followed the testing notes and seemed to work fine in Maya, Houdini and Fusion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work fine in Maya, Houdini and Fusion. However see my comment - not sure what this fixes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested in Houdini.. works fine.
I wonder if it fixes this issue #180
I tried replicating the issue but it seems it's fixed.
I could not reproduce this in So what I did was save the modeling scene into lighting WITHOUT updating the context data (e.g. do not update create context, just save the file there without publisher reset, etc.). Then in However note that I could also reproduce that when that file was saved to another folder - not just the task change. |
As such I think the ACTUAL issue isn't the resetting to match with the current context - but the fact that we're somehow allowing to rely on the 'workfile' metadata to be the ground truth for that particular context and allowing it to override the actual session's context. So even though this workaround PR works - there apparently still is some logic somewhere where "resetting" means resetting it to the invalid context. Anyway, with this PR I was unable to intentionally try and break it - so I guess it's safe for now :D |
same here. |
Changelog Description
Context change is propagated correctly, because controller of workfiles tool does capture it correctly.
Additional info
Change the context also in controller, and unify the context change into single method. Removed
reset
of controller on save as ( I'm not sure why the reset was there, probably only to update current context?).How to replicate (maybe)
Open
notSave as
. -> Task 2Testing notes:
Resolves #180