skip IcarusCommands that are null
This commit is contained in:
parent
2f664e4b98
commit
f2e96d0955
@ -40,6 +40,7 @@ namespace UniversalEditor.ObjectModels.Icarus
|
||||
|
||||
foreach (IcarusCommand cmd in mvarCommands)
|
||||
{
|
||||
if (cmd == null) continue;
|
||||
clone.Commands.Add(cmd.Clone() as IcarusCommand);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user