diff --git a/js/ui/tool/dream.js b/js/ui/tool/dream.js index 85da32c..a93fec9 100644 --- a/js/ui/tool/dream.js +++ b/js/ui/tool/dream.js @@ -3098,7 +3098,7 @@ function buildAlwaysOnScripts(state) { } function addSoftInpaintingToAlwaysOnScripts(state) { - if (extensions.alwaysOnScripts) { + if (extensions.alwaysOnScripts && toolbar._current_tool.name == "Img2Img") { //????? state.alwayson_scripts["Soft Inpainting"] = {}; state.alwayson_scripts["Soft Inpainting"].args = [