mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Node editor - Fixed a crash when duplicating nodes with pin collections
This commit is contained in:
1 parent
64decaf0c2
commit
968b365a29
1 file changed
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user