diff --git a/pyproject.toml b/pyproject.toml index 5e2d8ff..34a9eeb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "maxedout" description = "Custom ComfyUI nodes used in Maxed Out workflows (SDXL, Flux, Wan 2.2, etc.)" -version = "1.6.3" +version = "1.6.4" license = {file = "LICENSE"} # classifiers = [ # # For OS-independent nodes (works on all operating systems) diff --git a/web/js/image_comparer.js b/web/js/image_comparer.js index 200d736..c370251 100644 --- a/web/js/image_comparer.js +++ b/web/js/image_comparer.js @@ -458,11 +458,8 @@ class MxdImageComparer extends MxdBaseServerNode { // super.onSerialize && super.onSerialize(serialised); for (let [index, widget_value] of (serialised.widgets_values || []).entries()) { if (this.widgets[index]?.name === "mxd_comparer") { - serialised.widgets_values[index] = this.widgets[index].value.images.map((d) => { - d = { ...d }; - delete d.img; - return d; - }); + // Do not persist preview image paths into workflow JSON. + serialised.widgets_values[index] = []; } } }