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>2021-10-06 23:32:43 +0300
committerGitHub <noreply@github.com>2021-10-06 23:32:43 +0300
commit5627ad38cf8152f2a1170a72a2709289147b4c7e (patch)
tree8ea513584af3854975ccf3287319cefe33eac61a
parentd214d3a6f14c39cfc238fb235355169fa670435f (diff)
parent1319acb6f20178d978d26e6a30646c1086541395 (diff)
Merge pull request #312 from tslater2006/master
Correct issue during group merging
-rw-r--r--UVtools.Core/Managers/IssueManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/UVtools.Core/Managers/IssueManager.cs b/UVtools.Core/Managers/IssueManager.cs
index b5468b0..dd819ae 100644
--- a/UVtools.Core/Managers/IssueManager.cs
+++ b/UVtools.Core/Managers/IssueManager.cs
@@ -877,8 +877,8 @@ namespace UVtools.Core.Managers
for (var index = overlappingGroupIndexes.Count - 1; index >= 0; index--)
{
- resinTrapGroups[index].Clear();
- resinTrapGroups.RemoveAt(index);
+ resinTrapGroups[overlappingGroupIndexes[index]].Clear();
+ resinTrapGroups.RemoveAt(overlappingGroupIndexes[index]);
}
combinedGroup.Add((resinTraps[layerIndex][x], (uint)layerIndex));