mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-12 11:46:37 +08:00
Handle date time strings in SaveAnimatedWEBP (Fix #2565)
This commit is contained in:
parent
5942c17d55
commit
f08c93ec61
@ -5,7 +5,7 @@ import { applyTextReplacements } from "../../scripts/utils.js";
|
||||
app.registerExtension({
|
||||
name: "Comfy.SaveImageExtraOutput",
|
||||
async beforeRegisterNodeDef(nodeType, nodeData, app) {
|
||||
if (nodeData.name === "SaveImage") {
|
||||
if (nodeData.name === "SaveImage" || nodeData.name === "SaveAnimatedWEBP") {
|
||||
const onNodeCreated = nodeType.prototype.onNodeCreated;
|
||||
// When the SaveImage node is created we want to override the serialization of the output name widget to run our S&R
|
||||
nodeType.prototype.onNodeCreated = function () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user