Skip to content

Simple validation for render method#137

Open
eagleloid wants to merge 2 commits intojnordberg:masterfrom
eagleloid:simple-validation
Open

Simple validation for render method#137
eagleloid wants to merge 2 commits intojnordberg:masterfrom
eagleloid:simple-validation

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