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

Stage framerate doesn't match Maya's #3311

Open
vinRosso opened this issue Sep 6, 2023 · 2 comments
Open

Stage framerate doesn't match Maya's #3311

vinRosso opened this issue Sep 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@vinRosso
Copy link

vinRosso commented Sep 6, 2023

Description
When creating a stage from scratch it keeps the default of 24fps, so if I'm working with another framerate I will need to edit it by code.

--
Steps to reproduce
The animation should go from frame 1072 to 1100, but you'll see that it doesn't.

  1. Set Maya at 25fps
  2. Create an empty usd stage
  3. Select the anonymous layer and sublayer attached file modeling_v03.usd
  4. Select the anonymous layer and sublayer attached file test_cache_v05.usd

--
Expected behavior
The animation will be imported correctly .

  1. Set Maya at 25fps
  2. Create an empty usd stage
  3. Select the stage shape and run this code:
import mayaUsd
stage = mayaUsd.ufe.getStage(mc.ls(sl=True, l=True)[0])
stage.SetTimeCodesPerSecond(25)
stage.SetFramesPerSecond(25)
  1. Select the anonymous layer and sublayer attached files as above

--
Attachments
stage_framerate_sample_files.zip

--
Specs:

  • OS: Rocky Linux 9.2 (Blue Onyx)
  • Maya: 2023.3
@vinRosso vinRosso added the bug Something isn't working label Sep 6, 2023
@BigRoy
Copy link
Contributor

BigRoy commented Sep 7, 2023

I can confirm this also occurs on Maya 2024.1 with mayaUsdPlugin 0.23.1 on Windows.

@neilh-adsk neilh-adsk moved this to Needs triage in maya-usd Nov 6, 2023
@maya-usd-git-sync
Copy link

Issue synced internally to EMSUSD-807

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Needs triage
Status: Needs triage
Development

No branches or pull requests

3 participants