Implement "Save Images to Server" feature in AIImages mod, allowing users to save generated images to the Stable Diffusion server. Update UI with new settings option and localized strings in English and Russian. Upgrade StableDiffusionNet.Core dependency to version 1.1.2. Update AIImages.dll to reflect these changes.

This commit is contained in:
Leonid Pershin
2025-10-27 00:03:26 +03:00
parent 9fb05e4e7e
commit 379865a6aa
10 changed files with 16 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace AIImages
InitializeBuffers(settings);
Listing_Standard listingStandard = new Listing_Standard();
Rect viewRect = new Rect(0f, 0f, inRect.width - 20f, 1200f);
Rect viewRect = new Rect(0f, 0f, inRect.width - 20f, 1250f);
Widgets.BeginScrollView(inRect, ref scrollPosition, viewRect);
listingStandard.Begin(viewRect);
@@ -361,6 +361,11 @@ namespace AIImages
"AIImages.Settings.SaveHistory".Translate(),
ref settings.saveGenerationHistory
);
listingStandard.CheckboxLabeled(
"AIImages.Settings.SaveImagesToServer".Translate(),
ref settings.saveImagesToServer,
"AIImages.Settings.SaveImagesToServerTooltip".Translate()
);
listingStandard.Gap(12f);