diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-10-06 23:32:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-06 23:32:43 +0300 |
commit | 5627ad38cf8152f2a1170a72a2709289147b4c7e (patch) | |
tree | 8ea513584af3854975ccf3287319cefe33eac61a | |
parent | d214d3a6f14c39cfc238fb235355169fa670435f (diff) | |
parent | 1319acb6f20178d978d26e6a30646c1086541395 (diff) |
Merge pull request #312 from tslater2006/master
Correct issue during group merging
-rw-r--r-- | UVtools.Core/Managers/IssueManager.cs | 4 |
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)); |