From 7e40c93395b0653e16552ab309c0429cad8155f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tiago=20Concei=C3=A7=C3=A3o?= Date: Mon, 18 Sep 2023 16:44:59 +0100 Subject: [PATCH] v4.0.1 - (Fix) Suggestions settings were not displaying --- CHANGELOG.md | 4 ++ RELEASE_NOTES.md | 45 +------------------ UVtools.Core/UVtools.Core.csproj | 2 +- ...SuggestionBottomLayerCountControl.axaml.cs | 5 ++- .../Suggestions/SuggestionControl.axaml.cs | 3 +- .../SuggestionLayerHeightControl.axaml.cs | 4 +- .../SuggestionModelPositionControl.axaml.cs | 4 +- ...estionTransitionLayerCountControl.axaml.cs | 4 +- ...uggestionWaitTimeAfterCureControl.axaml.cs | 4 +- ...ggestionWaitTimeBeforeCureControl.axaml.cs | 4 +- UVtools.UI/UVtools.UI.csproj | 2 +- 11 files changed, 28 insertions(+), 53 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b1655e8..f3d11f02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 18/09/2023 - v4.0.1 + +- (Fix) Suggestions settings were not displaying + ## 17/09/2023 - v4.0.0 - **UI:** diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index f672e43a..800c6ea7 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,45 +1,2 @@ -- **UI:** - - **Settings:** - - (Add) Themes: Fluent default, which set light/dark mode depending on system settings - - (Add) Theme density which only applies to Fluent theme - - (Change) Themes: Rename "Default" to "Simple" - - (Remove) Simple theme - - **Exposure time finder:** - - (Fix) "Multiple layer height" panel visibility was wrongly check for `ExposureTime` instead of `PositionZ` - - (Fix) "Multiple exposures" panel was always visible even if not able - - (Improvement) Disable "Multiple exposure" and "Multiple heights" for the AnyCubic format - - **Tool windows:** - - (Fix) Align the description to the left to fix the misalignment when resizing the window - - (Fix) Make layer selection shortcuts to work - - (Fix) Some invalid bindings - - (Fix) Save properties to disk/clipboard was disabled when file has no thumbnails - - (Fix) File - Reset layer properties was no unlocking the File - Save - - (Improvement) When sending a command under "File - Terminal", it will now unlock the "File - Save" option and refresh the UI with the new information if changed - - (Improvement) When moving model by an operation or suggestion it will redetect the issues to update their positions (#752) -- **Layer actions - Import layer(s):** - - (Add) Button to set the current layer - - (Improvement) If any file isn't imported it will show an message informing why - - (Fix) Layer properties were getting rebuilt (#739) -- **File formats:** - - (Change) Thumbnails logic, it's now a `List` instead of a fixed array, this allow to dynamic add or remove thumbnails without having a fixed number - - (Fix) The flag for using per layer settings (`IsUsingGlobalParameters`) now take into account if layer is able to use each property in check before compare (#742) - - (Fix) Accessing `BoundingRectangleMillimeters` was not calculating the `BoundingRectangle` if necessary - - (Fix) SL1: Files with thumbnails size different from original SL1 would not display under the UI - - (Fix) Anycubic: Model information is not set after an auto-conversion from SL1 - - (Fix) CTB: Error when open file in partial model with malformed file due invalid checksum - - (Fix) Image files: Could not find a writer for the specified extension (#755) -- **UVtoolsCmd:** - - (Add) "compare" command to compare two files and output the differences - - (Add) "print-formats" command to print the available formats - - (Improvement) Improve "extract" command to allow extract specific thumbnails or layers in a range or indexes (#754) -- **Project:** - - (Change) Rename UVtools.WPF to UVtools.UI - - (Change) Make UVtools.UI nullable enabled - - (Remove) UVtools.GUI - - (Improvement) Use CompiledBinding instead of ReflectionBinding - - (Improvement) Sign the libraries and project with a strong key - - (Upgrade) .NET from 6.0.18 to 6.0.22 - - (Upgrade) AvaloniaUI from 0.10.21 to 11.0.4 - - (Upgrade) OpenCV from 4.7.0 to 4.8.0 -- (Add) PrusaSlicer printer: Elegoo Saturn S +- (Fix) Suggestions settings was not displaying diff --git a/UVtools.Core/UVtools.Core.csproj b/UVtools.Core/UVtools.Core.csproj index 63660ac5..91a4b57d 100644 --- a/UVtools.Core/UVtools.Core.csproj +++ b/UVtools.Core/UVtools.Core.csproj @@ -2,7 +2,7 @@ AnyCPU;x64 - 4.0.0 + 4.0.1 True ..\documentation\$(AssemblyName).xml diff --git a/UVtools.UI/Controls/Suggestions/SuggestionBottomLayerCountControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionBottomLayerCountControl.axaml.cs index 97b4e793..1ad0e16f 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionBottomLayerCountControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionBottomLayerCountControl.axaml.cs @@ -5,9 +5,12 @@ namespace UVtools.UI.Controls.Suggestions; public partial class SuggestionBottomLayerCountControl : SuggestionControl { public SuggestionBottomLayerCount Suggestion => (BaseSuggestion as SuggestionBottomLayerCount)!; + public SuggestionBottomLayerCountControl() : this(new SuggestionBottomLayerCount()) { } public SuggestionBottomLayerCountControl(Suggestion suggestion) : base(suggestion) - { } + { + InitializeComponent(); + } } \ No newline at end of file diff --git a/UVtools.UI/Controls/Suggestions/SuggestionControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionControl.axaml.cs index e130b8eb..1b742e80 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionControl.axaml.cs @@ -6,7 +6,8 @@ public partial class SuggestionControl : UserControlEx { public Suggestion BaseSuggestion { get; set; } - public SuggestionControl() : this(null!) { } + public SuggestionControl() : this(null!) + { } public SuggestionControl(Suggestion suggestion) { diff --git a/UVtools.UI/Controls/Suggestions/SuggestionLayerHeightControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionLayerHeightControl.axaml.cs index 06e1e92e..b89c7170 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionLayerHeightControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionLayerHeightControl.axaml.cs @@ -10,5 +10,7 @@ public SuggestionLayerHeightControl() : this(new SuggestionLayerHeight()) { } public SuggestionLayerHeightControl(Suggestion suggestion) : base(suggestion) - { } + { + InitializeComponent(); + } } \ No newline at end of file diff --git a/UVtools.UI/Controls/Suggestions/SuggestionModelPositionControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionModelPositionControl.axaml.cs index 7bf96c77..d07ec5da 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionModelPositionControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionModelPositionControl.axaml.cs @@ -9,5 +9,7 @@ public SuggestionModelPositionControl() : this(new SuggestionModelPosition()) { } public SuggestionModelPositionControl(Suggestion suggestion) : base(suggestion) - { } + { + InitializeComponent(); + } } \ No newline at end of file diff --git a/UVtools.UI/Controls/Suggestions/SuggestionTransitionLayerCountControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionTransitionLayerCountControl.axaml.cs index a8c4f8ce..fdae7276 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionTransitionLayerCountControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionTransitionLayerCountControl.axaml.cs @@ -10,5 +10,7 @@ public SuggestionTransitionLayerCountControl() : this(new SuggestionTransitionLa { } public SuggestionTransitionLayerCountControl(Suggestion suggestion) : base(suggestion) - { } + { + InitializeComponent(); + } } \ No newline at end of file diff --git a/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeAfterCureControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeAfterCureControl.axaml.cs index 6bf2c72d..2b106dd3 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeAfterCureControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeAfterCureControl.axaml.cs @@ -10,5 +10,7 @@ public SuggestionWaitTimeAfterCureControl() : this(new SuggestionWaitTimeAfterCu { } public SuggestionWaitTimeAfterCureControl(Suggestion suggestion) : base(suggestion) - { } + { + InitializeComponent(); + } } \ No newline at end of file diff --git a/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeBeforeCureControl.axaml.cs b/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeBeforeCureControl.axaml.cs index b285c434..5b94fc55 100644 --- a/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeBeforeCureControl.axaml.cs +++ b/UVtools.UI/Controls/Suggestions/SuggestionWaitTimeBeforeCureControl.axaml.cs @@ -9,5 +9,7 @@ public SuggestionWaitTimeBeforeCureControl() : this(new SuggestionWaitTimeBefore { } public SuggestionWaitTimeBeforeCureControl(Suggestion suggestion) : base(suggestion) - { } + { + InitializeComponent(); + } } \ No newline at end of file diff --git a/UVtools.UI/UVtools.UI.csproj b/UVtools.UI/UVtools.UI.csproj index 42d77e43..401f863a 100644 --- a/UVtools.UI/UVtools.UI.csproj +++ b/UVtools.UI/UVtools.UI.csproj @@ -2,7 +2,7 @@ WinExe UVtools - 4.0.0 + 4.0.1 AnyCPU;x64 true