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-125895 Handle timecodes-per-second when flipping shared state #2701

Merged

Conversation

pierrebai-adsk
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk commented Nov 3, 2022

Tramsfer the timecodes-per-second when flipping shared flag on a stage.

@pierrebai-adsk pierrebai-adsk changed the title MAYA-125895 also handles timecodes-per-second when flipping shared fl… MAYA-125895 Handle timecodes-per-second when flipping shared state Nov 3, 2022
@pierrebai-adsk pierrebai-adsk added the adsk Related to Autodesk plugin label Nov 3, 2022
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Nov 3, 2022
@@ -636,6 +636,13 @@ void reproduceSharedStageState(
unsharedRootLayer->SetFramesPerSecond(fps);
stage->SetFramesPerSecond(fps);
}

// Transfer the TCPS (timecodes-per-second) for the same reason as above.
if (sharedRootLayer->HasTimeCodesPerSecond()) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks! :D

@seando-adsk seando-adsk merged commit 42854b3 into dev Nov 3, 2022
@seando-adsk seando-adsk deleted the bailp/MAYA-125895/transfer-tcps-when-unsharing-layer branch November 3, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adsk Related to Autodesk plugin ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants