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:
parent
64decaf0c2
commit
968b365a29
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user