From 51265ff808488dffd4acea22430cc7f8668f9d44 Mon Sep 17 00:00:00 2001 From: tim h Date: Wed, 21 Feb 2024 17:18:36 -0600 Subject: [PATCH] probably unnecessary --- js/ui/tool/dream.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [