Skip to content

Conversation

@Tok
Copy link
Owner

@Tok Tok commented Jun 3, 2024

Started to refactor render.py

Zir Teq and others added 27 commits June 1, 2024 12:50
…into separate methods and regrouped data accordingly into new tuples. Replaced some comments with samely named method calls. Prefixed some booleans with "is_" for better readability. Reorganized imports. Marked some initialization code that seems dead and added a few TODOs for further consideration and optimization.
… vars to avoid reassignments and consolidate calls.
… package to render_data because, really it's all just data.
… isolate and group side effects. More stuff moved to static context.
…d renamed the render package to avoid conflicts and confusion with the render module.
…on a button-click in PyCharm (Interpreter path pointing to standard Windows powershell dir by default, all other paths provided relative).
… prepare for reduction of complexities in method calls. render_animation method torn appart to ensure tightly scoped args and also unfroze the AnimationMode class again to allow for the late initialization of prev_flow for now.
…s that broke in the last commit. All original arguments have been taken out of scope for now. More TODOs added.
@Tok Tok merged commit 573dac9 into automatic1111-webui Jun 3, 2024
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.

2 participants