Skip to content

Commit 7245eee

Browse files
authored
Perform text replacement for SaveAnimatedWEBP in addition to SaveImage (#403)
1 parent 9f3696e commit 7245eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions/core/saveImageExtraOutput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { applyTextReplacements } from '../../scripts/utils'
55
app.registerExtension({
66
name: 'Comfy.SaveImageExtraOutput',
77
async beforeRegisterNodeDef(nodeType, nodeData, app) {
8-
if (nodeData.name === 'SaveImage') {
8+
if (nodeData.name === 'SaveImage' || nodeData.name === 'SaveAnimatedWEBP') {
99
const onNodeCreated = nodeType.prototype.onNodeCreated
1010
// When the SaveImage node is created we want to override the serialization of the output name widget to run our S&R
1111
nodeType.prototype.onNodeCreated = function () {

0 commit comments

Comments
 (0)