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/FileFormats/ZCodeFile.cs')
-rw-r--r--UVtools.Core/FileFormats/ZCodeFile.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/UVtools.Core/FileFormats/ZCodeFile.cs b/UVtools.Core/FileFormats/ZCodeFile.cs
index 4d42c1d..412adb5 100644
--- a/UVtools.Core/FileFormats/ZCodeFile.cs
+++ b/UVtools.Core/FileFormats/ZCodeFile.cs
@@ -22,7 +22,6 @@ using Org.BouncyCastle.Crypto.Engines;
using Org.BouncyCastle.OpenSsl;
using UVtools.Core.Extensions;
using UVtools.Core.GCode;
-using UVtools.Core.Objects;
using UVtools.Core.Operations;
namespace UVtools.Core.FileFormats
@@ -190,7 +189,7 @@ namespace UVtools.Core.FileFormats
public override FileFormatType FileType => FileFormatType.Archive;
public override FileExtension[] FileExtensions { get; } = {
- new("zcode", "UnizMaker ZCode files")
+ new("zcode", "UnizMaker ZCode")
};
public override PrintParameterModifier[] PrintParameterModifiers { get; } = {
@@ -219,8 +218,6 @@ namespace UVtools.Core.FileFormats
PrintParameterModifier.LightPWM,
};
- public override byte ThumbnailsCount { get; } = 1;
-
public override Size[] ThumbnailsOriginalSize { get; } = {new(640, 480)};
public override uint ResolutionX
@@ -255,9 +252,9 @@ namespace UVtools.Core.FileFormats
set => RaisePropertyChanged();
}
- public override float MaxPrintHeight
+ public override float MachineZ
{
- get => ManifestFile.Device.MachineZ > 0 ? ManifestFile.Device.MachineZ : base.MaxPrintHeight;
+ get => ManifestFile.Device.MachineZ > 0 ? ManifestFile.Device.MachineZ : base.MachineZ;
set
{
ManifestFile.Device.MachineZ = (ushort) value;