diff options
Diffstat (limited to 'UVtools.Core/Operations/OperationLayerRemove.cs')
-rw-r--r-- | UVtools.Core/Operations/OperationLayerRemove.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/UVtools.Core/Operations/OperationLayerRemove.cs b/UVtools.Core/Operations/OperationLayerRemove.cs index b2fb9ca..25dd621 100644 --- a/UVtools.Core/Operations/OperationLayerRemove.cs +++ b/UVtools.Core/Operations/OperationLayerRemove.cs @@ -5,16 +5,19 @@ * Everyone is permitted to copy and distribute verbatim copies * of this license document, but changing it is not allowed. */ + +using System; using System.Text; namespace UVtools.Core.Operations { + [Serializable] public sealed class OperationLayerRemove : Operation { #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 => "Remove layers"; @@ -32,6 +35,8 @@ namespace UVtools.Core.Operations public override bool CanCancel => false; + public override bool CanHaveProfiles => false; + #endregion #region Properties |