Revert PRs #4506 and #4507 - Fix execution output issues (#4508)

This commit is contained in:
Christian Byrne
2025-07-23 17:53:04 -07:00
committed by GitHub
parent e34d9bb411
commit 052d5320c0
4 changed files with 11 additions and 59 deletions

View File

@@ -100,8 +100,7 @@ export const useImageUploadWidget = () => {
// Add our own callback to the combo widget to render an image when it changes
fileComboWidget.callback = function () {
nodeOutputStore.setNodeOutputs(node, fileComboWidget.value, {
isAnimated,
isInitialLoad: true
isAnimated
})
node.graph?.setDirtyCanvas(true)
}
@@ -111,8 +110,7 @@ export const useImageUploadWidget = () => {
// No change callbacks seem to be fired on initial setting of the value
requestAnimationFrame(() => {
nodeOutputStore.setNodeOutputs(node, fileComboWidget.value, {
isAnimated,
isInitialLoad: true
isAnimated
})
showPreview({ block: false })
})