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

Simple validation for render method #137

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

eagleloid
Copy link

Just added a validation check for the render method in case user attempt to render without any frames. Allows the user to call it again without having to reconstruct the class.

Also set the @running variable to false after 'finished' is emitted in the finishRendering method for similar reason as above.

If 'render' is ran with no frames, @running will remain 'True' until the class is reconstructed.
Set running variable to FALSE at the end of the 'finishRendering' method so user can render again without having to reconstruct class.
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.

1 participant