probably unnecessary

This commit is contained in:
tim h 2024-02-21 17:18:36 -06:00
parent c252ed6ea1
commit 51265ff808

View file

@ -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 = [