Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Maya: export alembic start/end frame type #254

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

antirotor
Copy link
Member

Bug description

We interpret frame as int, but queries in Maya ofter return frames as float. This bug happens in extract_animation.py when handles are 0. Then frame range is picked from context (where it is as int) and pype.hosts.maya.lib.extract_alembic() asserts will fail as they are expecting float from Maya.

Fix

Fix is casting explicitly frames to float before passing them to extract_alembic().

@antirotor antirotor requested a review from mkolar June 12, 2020 12:16
@antirotor antirotor self-assigned this Jun 12, 2020
@mkolar mkolar merged commit ebb05ca into 2.x/develop Jun 16, 2020
@mkolar mkolar added this to the 2.10 milestone Jun 16, 2020
@mkolar mkolar deleted the bugfix/2.x-alembic-export branch July 8, 2020 07:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
host: Maya type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants