Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Conceição <Tiago_caza@hotmail.com>2020-10-13 04:04:05 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2020-10-13 04:04:05 +0300
commit1a0229a654c49385d9c757383d30f0d38882d3d7 (patch)
tree66deae60c2715c3c59df2e39a667f772fe9654cf /UVtools.WPF/UserSettings.cs
parent4721a525653789f44615c7fe19433c570077a352 (diff)
v0.8.4.3v0.8.4.3
* (Add) Tool - Layer repair: Allow remove islands recursively (#74) * (Fix) Pixel Editor: Cursor dimentions when using brushes with thickness > 1 (#73)
Diffstat (limited to 'UVtools.WPF/UserSettings.cs')
-rw-r--r--UVtools.WPF/UserSettings.cs43
1 files changed, 25 insertions, 18 deletions
diff --git a/UVtools.WPF/UserSettings.cs b/UVtools.WPF/UserSettings.cs
index 1607311..a5e5ca3 100644
--- a/UVtools.WPF/UserSettings.cs
+++ b/UVtools.WPF/UserSettings.cs
@@ -841,23 +841,30 @@ namespace UVtools.WPF
[Serializable]
public sealed class LayerRepairUserSettings : ReactiveObject
{
- private byte _closingIterations = 2;
- private byte _openingIterations = 0;
- private byte _removeIslandsBelowEqualPixels = 10;
private bool _repairIslands = true;
private bool _repairResinTraps = true;
private bool _removeEmptyLayers = true;
+ private byte _removeIslandsBelowEqualPixels = 10;
+ private ushort _removeIslandsRecursiveIterations = 4;
+ private byte _closingIterations = 2;
+ private byte _openingIterations = 0;
- public byte ClosingIterations
+ public bool RepairIslands
{
- get => _closingIterations;
- set => this.RaiseAndSetIfChanged(ref _closingIterations, value);
+ get => _repairIslands;
+ set => this.RaiseAndSetIfChanged(ref _repairIslands, value);
}
- public byte OpeningIterations
+ public bool RepairResinTraps
{
- get => _openingIterations;
- set => this.RaiseAndSetIfChanged(ref _openingIterations, value);
+ get => _repairResinTraps;
+ set => this.RaiseAndSetIfChanged(ref _repairResinTraps, value);
+ }
+
+ public bool RemoveEmptyLayers
+ {
+ get => _removeEmptyLayers;
+ set => this.RaiseAndSetIfChanged(ref _removeEmptyLayers, value);
}
public byte RemoveIslandsBelowEqualPixels
@@ -866,22 +873,22 @@ namespace UVtools.WPF
set => this.RaiseAndSetIfChanged(ref _removeIslandsBelowEqualPixels, value);
}
- public bool RepairIslands
+ public ushort RemoveIslandsRecursiveIterations
{
- get => _repairIslands;
- set => this.RaiseAndSetIfChanged(ref _repairIslands, value);
+ get => _removeIslandsRecursiveIterations;
+ set => this.RaiseAndSetIfChanged(ref _removeIslandsRecursiveIterations, value);
}
- public bool RepairResinTraps
+ public byte ClosingIterations
{
- get => _repairResinTraps;
- set => this.RaiseAndSetIfChanged(ref _repairResinTraps, value);
+ get => _closingIterations;
+ set => this.RaiseAndSetIfChanged(ref _closingIterations, value);
}
- public bool RemoveEmptyLayers
+ public byte OpeningIterations
{
- get => _removeEmptyLayers;
- set => this.RaiseAndSetIfChanged(ref _removeEmptyLayers, value);
+ get => _openingIterations;
+ set => this.RaiseAndSetIfChanged(ref _openingIterations, value);
}
public LayerRepairUserSettings Clone()