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

Separate callbacks for Save and Export #1226

Merged
merged 1 commit into from
Mar 4, 2021

Conversation

fowlertADSK
Copy link
Contributor

The function that gathers the stages that might need to be written out has logic in it to check if we are doing Export vs. Export Selected, but the check for that state is incorrect. The MFileIO::exportType check only tells us what option the last Export ran with and isn't changed when doing a Save. We never want to check if something is selected during a Save, but it doesn't look like there is an explicit state kept by Maya so here we just create separate callbacks so we can keep track.

Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

looks good

@seando-adsk
Copy link
Collaborator

@fowlertADSK I restarted your preflight since the other one timed out and failed.

@kxl-adsk kxl-adsk added the workflows Related to in-context workflows label Mar 4, 2021
@kxl-adsk kxl-adsk merged commit 08647af into dev Mar 4, 2021
@kxl-adsk kxl-adsk deleted the fowlert/MAYA-109983/export_state branch March 4, 2021 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
workflows Related to in-context workflows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants