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

Prevent divide by zero and print warning if width is zero #1346

Merged

Conversation

markreidvfx
Copy link
Contributor

When working on an adapter I found this potential divide by zero error, causing nothing to show up at all in the timeline viewer.

@markreidvfx markreidvfx force-pushed the divide-by-zero-fix-v1 branch from d437198 to 74f6c15 Compare July 7, 2022 19:10
Copy link
Collaborator

@meshula meshula left a comment

Choose a reason for hiding this comment

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

lgtm!

@jminor jminor merged commit c66f902 into AcademySoftwareFoundation:main Jul 8, 2022
@ssteinbach ssteinbach added this to the Public Beta 15 milestone Aug 29, 2022
MichaelPlug pushed a commit to MichaelPlug/OpenTimelineIO that referenced this pull request Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants