Browse Source

Merge branch 'dev' into stable-swarm

pull/495/head
JT 10 months ago committed by GitHub
parent
commit
c39f560ed8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 6
      StabilityMatrix.Avalonia/ViewModels/Inference/Modules/ControlNetModule.cs

4
CHANGELOG.md

@ -5,6 +5,10 @@ All notable changes to Stability Matrix will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2.0.0.html).
## v2.8.0-pre.5
### Fixed
- Fixed error when ControlNet module image paths are not found, even if the module is disabled
## v2.8.0-pre.4
### Added
- Added Recommended Models dialog after one-click installer

6
StabilityMatrix.Avalonia/ViewModels/Inference/Modules/ControlNetModule.cs

@ -24,7 +24,11 @@ public class ControlNetModule : ModuleBase
protected override IEnumerable<ImageSource> GetInputImages()
{
if (GetCard<ControlNetCardViewModel>().SelectImageCardViewModel.ImageSource is { } image)
if (
IsEnabled
&& GetCard<ControlNetCardViewModel>().SelectImageCardViewModel
is { ImageSource: { } image, IsImageFileNotFound: false }
)
{
yield return image;
}

Loading…
Cancel
Save