1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00

Node editor - Fixed a crash when duplicating nodes with pin collections

This commit is contained in:
Robert 2023-02-12 21:27:46 +01:00
parent 64decaf0c2
commit 968b365a29

View File

@ -56,7 +56,7 @@ public class DuplicateNode : INodeEditorCommand, IDisposable
if (targetCollection == null) if (targetCollection == null)
continue; continue;
while (targetCollection.Count() < sourceCollection.Count()) while (targetCollection.Count() < sourceCollection.Count())
targetCollection.CreatePin(); targetCollection.Add(targetCollection.CreatePin());
} }
// Copy the storage // Copy the storage