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:
Diffstat (limited to 'UVtools.Core/Operations/OperationLayerClone.cs')
-rw-r--r--UVtools.Core/Operations/OperationLayerClone.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/UVtools.Core/Operations/OperationLayerClone.cs b/UVtools.Core/Operations/OperationLayerClone.cs
index e1e896c..2271135 100644
--- a/UVtools.Core/Operations/OperationLayerClone.cs
+++ b/UVtools.Core/Operations/OperationLayerClone.cs
@@ -5,19 +5,22 @@
* Everyone is permitted to copy and distribute verbatim copies
* of this license document, but changing it is not allowed.
*/
+
+using System;
using System.Text;
using UVtools.Core.Objects;
namespace UVtools.Core.Operations
{
+ [Serializable]
public sealed class OperationLayerClone : Operation
{
private uint _clones = 1;
#region Overrides
- public override Enumerations.LayerRangeSelection LayerRangeSelection => Enumerations.LayerRangeSelection.Current;
- public override bool CanROI { get; set; } = false;
+ public override Enumerations.LayerRangeSelection StartLayerRangeSelection => Enumerations.LayerRangeSelection.Current;
+ public override bool CanROI => false;
public override bool PassActualLayerIndex => true;
public override string Title => "Clone layers";
@@ -34,6 +37,8 @@ namespace UVtools.Core.Operations
public override bool CanCancel => false;
+ public override bool CanHaveProfiles => false;
+
public override StringTag Validate(params object[] parameters)
{
var sb = new StringBuilder();