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-10 03:27:26 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2020-10-10 03:27:26 +0300
commit4208f49fe5c7c8db61e30dc8e17d0454c05b187c (patch)
treed2e88bea60562a3e98ae86aca3e3294bce6e832e
parente5d123c97a9c1967c86b45fe8b0f7528b541b7f5 (diff)
v0.8.4.1v0.8.4.1
* (Add) Tool - Modify print parameters: Value unit to confirmation text * (Change) Tool - Modify print parameters: Maximum allowed exposure times from 255s to 1000s (#69) * (Change) On operations, instead of partial backup a whole backup is made, this allow cancel operations which changes layer count and other structure changes * (Improvement) PrusaSlicer profile manager: Files are now checked against checksum instead write time to prevent trigger an false update when using MSI installer * (Fix) Tool - Layer Import: Allow cancel operation * (Fix) Tool - Layer Import: When importing layers that increase the total layer count of the file program stays forever on progress * (Fix) Tool - Layer Clone: Layer information was the same as heights, fixed to show the result of operation in layers * (Fix) Tool - Pattern: Unable to use an anchor
-rw-r--r--CHANGELOG.md5
-rw-r--r--UVtools.Core/FileFormats/FileFormat.cs4
-rw-r--r--UVtools.Core/Operations/OperationEditParameters.cs2
-rw-r--r--UVtools.GUI/Forms/FrmInstallPEProfiles.cs5
4 files changed, 11 insertions, 5 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 10a656b..6d2e9c6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -9,9 +9,12 @@
* (Improvement) GUI is now scalable
* (Fix) Some bug found and fixed during convertion
-## 01/10/2020 - v0.8.4.1
+## 10/10/2020 - v0.8.4.1
+* (Add) Tool - Modify print parameters: Value unit to confirmation text
+* (Change) Tool - Modify print parameters: Maximum allowed exposure times from 255s to 1000s (#69)
* (Change) On operations, instead of partial backup a whole backup is made, this allow cancel operations which changes layer count and other structure changes
+* (Improvement) PrusaSlicer profile manager: Files are now checked against checksum instead write time to prevent trigger an false update when using MSI installer
* (Fix) Tool - Layer Import: Allow cancel operation
* (Fix) Tool - Layer Import: When importing layers that increase the total layer count of the file program stays forever on progress
* (Fix) Tool - Layer Clone: Layer information was the same as heights, fixed to show the result of operation in layers
diff --git a/UVtools.Core/FileFormats/FileFormat.cs b/UVtools.Core/FileFormats/FileFormat.cs
index 0bdd541..2c7780c 100644
--- a/UVtools.Core/FileFormats/FileFormat.cs
+++ b/UVtools.Core/FileFormats/FileFormat.cs
@@ -57,8 +57,8 @@ namespace UVtools.Core.FileFormats
#region Instances
public static PrintParameterModifier BottomLayerCount { get; } = new PrintParameterModifier("Bottom layer count", null, "layers",0, ushort.MaxValue, 0);
- public static PrintParameterModifier BottomExposureSeconds { get; } = new PrintParameterModifier("Bottom exposure time", null, "s", 0.1M, byte.MaxValue, 2);
- public static PrintParameterModifier ExposureSeconds { get; } = new PrintParameterModifier("Exposure time", null, "s", 0.1M, byte.MaxValue, 2);
+ public static PrintParameterModifier BottomExposureSeconds { get; } = new PrintParameterModifier("Bottom exposure time", null, "s", 0.1M, 1000, 2);
+ public static PrintParameterModifier ExposureSeconds { get; } = new PrintParameterModifier("Exposure time", null, "s", 0.1M, 1000, 2);
public static PrintParameterModifier BottomLayerOffTime { get; } = new PrintParameterModifier("Bottom layer off seconds", null, "s");
public static PrintParameterModifier LayerOffTime { get; } = new PrintParameterModifier("Layer off seconds", null, "s");
diff --git a/UVtools.Core/Operations/OperationEditParameters.cs b/UVtools.Core/Operations/OperationEditParameters.cs
index 968c552..8b26745 100644
--- a/UVtools.Core/Operations/OperationEditParameters.cs
+++ b/UVtools.Core/Operations/OperationEditParameters.cs
@@ -32,7 +32,7 @@ namespace UVtools.Core.Operations
foreach (var modifier in Modifiers)
{
if(!modifier.HasChanged) continue;
- sb.AppendLine($"{modifier.Name}: {modifier.OldValue} » {modifier.NewValue}");
+ sb.AppendLine($"{modifier.Name}: {modifier.OldValue}{modifier.ValueUnit} » {modifier.NewValue}{modifier.ValueUnit}");
}
return $"commit print parameter changes?\n{sb}";
}
diff --git a/UVtools.GUI/Forms/FrmInstallPEProfiles.cs b/UVtools.GUI/Forms/FrmInstallPEProfiles.cs
index 9b2ce81..9adfa5f 100644
--- a/UVtools.GUI/Forms/FrmInstallPEProfiles.cs
+++ b/UVtools.GUI/Forms/FrmInstallPEProfiles.cs
@@ -8,7 +8,9 @@
using System;
using System.Drawing;
using System.IO;
+using System.Linq;
using System.Windows.Forms;
+using UVtools.Core.Objects;
namespace UVtools.GUI.Forms
{
@@ -53,7 +55,8 @@ namespace UVtools.GUI.Forms
if (targetFileInfo.Exists)
{
installedCount++;
- if (targetFileInfo.Length != fileInfo.Length || targetFileInfo.LastWriteTime != fileInfo.LastWriteTime)
+ if (targetFileInfo.Length != fileInfo.Length || !StaticObjects.GetHashSha256(targetFileInfo.FullName).SequenceEqual(StaticObjects.GetHashSha256(fileInfo.FullName)))
+ //if (targetFileInfo.Length != fileInfo.Length || targetFileInfo.LastWriteTime != fileInfo.LastWriteTime)
{
item.ForeColor = Color.Red;
item.Checked = true;