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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user