Fix preserving actors hierarchy order when performing undo of actor removal

#1751
This commit is contained in:
Wojtek Figat
2024-03-05 16:30:50 +01:00
parent f0c2e65b5c
commit 28da656ed1
5 changed files with 43 additions and 17 deletions

View File

@@ -1764,14 +1764,6 @@ bool Actor::FromBytes(const Span<byte>& data, Array<Actor*>& output, ISerializeM
}
Scripting::ObjectsLookupIdMapping.Set(nullptr);
// Link objects
//for (int32 i = 0; i < objectsCount; i++)
{
//SceneObject* obj = sceneObjects->At(i);
// TODO: post load or post spawn?
//obj->PostLoad();
}
// Update objects order
//for (int32 i = 0; i < objectsCount; i++)
{