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 cleaning graph state on undo/redo #2255

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

pythongosssss
Copy link
Contributor

@pythongosssss pythongosssss commented Dec 11, 2023

Fixes #2242

Edit: removed flicker reduction as stop/start rendering seems to trigger some bug in LiteGraph
Also attempts to reduce some flicker on undo/redo - most noticably moving CLIPTextEncode nodes, the textareas will flicker. Images will still flicker due to being reloaded (looks likely due to the rand parameter forcing a reload, haven't looked into this)

@comfyanonymous comfyanonymous merged commit ab93abd into comfyanonymous:master Dec 11, 2023
1 check passed
@pythongosssss pythongosssss deleted the undo-keep-state branch December 17, 2023 17:46
HorusElohim pushed a commit to HorusElohim/PyfyUI that referenced this pull request Feb 17, 2024
* Prevent cleaning graph state on undo/redo

* Remove pause rendering due to LG bug
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.

Undo will clear all preview images, please fix it.
2 participants