correctly register types for cfg/ctrl-entity queries

This commit is contained in:
Ryan Fleury committed 2025-04-18 13:58:38 -07:00
1 parent ff35db0e16
commit d053edab3f
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -12217,6 +12217,7 @@ rd_frame(void)
expr->type_key = collection_type_key;
expr->space = e_space_make(RD_EvalSpaceKind_MetaQuery);
e_string2expr_map_insert(scratch.arena, ctx->macro_map, collection_name, expr);
e_string2typekey_map_insert(rd_frame_arena(), rd_state->meta_name2type_map, collection_name, collection_type_key);
}
//- rjf: add macros for all ctrl entity collections
@@ -12236,6 +12237,7 @@ rd_frame(void)
expr->type_key = collection_type_key;
expr->space = e_space_make(RD_EvalSpaceKind_MetaQuery);
e_string2expr_map_insert(scratch.arena, ctx->macro_map, collection_name, expr);
e_string2typekey_map_insert(rd_frame_arena(), rd_state->meta_name2type_map, collection_name, collection_type_key);
}
//- rjf: add macro / lookup rules for unattached processes