From 56f0f9792bc16e2e870b42c48313751208c30d86 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 25 Apr 2025 15:38:57 +0200 Subject: chore(ecs): add todo comment --- ecs/src/component/storage.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ecs/src/component/storage.rs b/ecs/src/component/storage.rs index f5cce57..1e45f63 100644 --- a/ecs/src/component/storage.rs +++ b/ecs/src/component/storage.rs @@ -369,6 +369,9 @@ impl Storage self.graph.dfs_archetype_add_edges(ArchetypeId::new(&[])) else { // If the root archetype doesn't exist, no other archetype can exist either + // + // TODO: The above comment is not true. Cases where imaginary archetypes have + // been created should be handled as well return Vec::new(); }; -- cgit v1.2.3-18-g5258