Cleanup and improve #2045

This commit is contained in:
Wojtek Figat
2024-02-24 12:53:33 +01:00
parent de4ee1372f
commit 8bcf4fdaf0
15 changed files with 507 additions and 479 deletions

View File

@@ -169,12 +169,8 @@ namespace FlaxEditor.SceneGraph.Actors
: base(actor)
{
var id = ID;
var bytes = id.ToByteArray();
for (int i = 0; i < 6; i++)
{
bytes[0] += 1;
AddChildNode(new SideLinkNode(this, new Guid(bytes), i));
}
AddChildNode(new SideLinkNode(this, GetSubID(id, i), i));
}
/// <inheritdoc />