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-08-04 07:08:24 +0300
committerTiago Conceição <Tiago_caza@hotmail.com>2020-08-04 07:08:24 +0300
commit012d9e4b7033886257d4c966403bf05fa2b0c380 (patch)
tree1e0de4a9a6b9d2658fbd2e23d13e589984d876f2 /UVtools.Cmd/Program.cs
parent54130124f9c7d2ebfc93e8116ec5adb5d963bcda (diff)
v0.6.4.1v0.6.4.1
* (Add) Partial update islands from current working layer and next layer when using pixel editor or island remove * (Add) Setting: To enable or disable partial update islands * (Change) Properties, Issues, Pixel Editor: ListView upgraded to a FastObjectListView, resulting in faster renders, sorting capabilities, column order, groups with counter, selection, hot tracking, filtering and empty list message * (Change) Log: ObjectListView upgraded to a FastObjectListView * (Change) Bunch of icons
Diffstat (limited to 'UVtools.Cmd/Program.cs')
-rw-r--r--UVtools.Cmd/Program.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/UVtools.Cmd/Program.cs b/UVtools.Cmd/Program.cs
index 405411b..909b31c 100644
--- a/UVtools.Cmd/Program.cs
+++ b/UVtools.Cmd/Program.cs
@@ -187,13 +187,18 @@ namespace UVtools.Cmd
{
Console.WriteLine("Computing Issues, please wait.");
sw.Restart();
- var issuesDict = fileFormat.LayerManager.GetAllIssues(null, null, progress);
+ var issueList = fileFormat.LayerManager.GetAllIssues(null, null, null, progress);
sw.Stop();
Console.WriteLine("Issues:");
Console.WriteLine("----------------------");
count = 0;
- for (uint layerIndex = 0; layerIndex < fileFormat.LayerCount; layerIndex++)
+ foreach (var issue in issueList)
+ {
+ Console.WriteLine(issue);
+ count++;
+ }
+ /*for (uint layerIndex = 0; layerIndex < fileFormat.LayerCount; layerIndex++)
{
if(!issuesDict.TryGetValue(layerIndex, out var list)) continue;
foreach (var issue in list)
@@ -201,7 +206,7 @@ namespace UVtools.Cmd
Console.WriteLine(issue);
count++;
}
- }
+ }*/
Console.WriteLine("----------------------");
Console.WriteLine($"Total Issues: {count} in {sw.ElapsedMilliseconds}ms");