mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 21:38:40 +00:00
correctly register types for cfg/ctrl-entity queries
This commit is contained in:
@@ -12217,6 +12217,7 @@ rd_frame(void)
|
|||||||
expr->type_key = collection_type_key;
|
expr->type_key = collection_type_key;
|
||||||
expr->space = e_space_make(RD_EvalSpaceKind_MetaQuery);
|
expr->space = e_space_make(RD_EvalSpaceKind_MetaQuery);
|
||||||
e_string2expr_map_insert(scratch.arena, ctx->macro_map, collection_name, expr);
|
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
|
//- rjf: add macros for all ctrl entity collections
|
||||||
@@ -12236,6 +12237,7 @@ rd_frame(void)
|
|||||||
expr->type_key = collection_type_key;
|
expr->type_key = collection_type_key;
|
||||||
expr->space = e_space_make(RD_EvalSpaceKind_MetaQuery);
|
expr->space = e_space_make(RD_EvalSpaceKind_MetaQuery);
|
||||||
e_string2expr_map_insert(scratch.arena, ctx->macro_map, collection_name, expr);
|
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
|
//- rjf: add macro / lookup rules for unattached processes
|
||||||
|
|||||||
@@ -1258,7 +1258,7 @@ rd_watch_row_info_from_row(Arena *arena, EV_Row *row)
|
|||||||
// rjf: singular row for queries
|
// rjf: singular row for queries
|
||||||
else if(row->eval.space.kind == RD_EvalSpaceKind_MetaQuery)
|
else if(row->eval.space.kind == RD_EvalSpaceKind_MetaQuery)
|
||||||
{
|
{
|
||||||
rd_watch_cell_list_push_new(arena, &info.cells, RD_WatchCellFlag_Indented|RD_WatchCellKind_Expr, .pct = 1.f);
|
rd_watch_cell_list_push_new(arena, &info.cells, RD_WatchCellKind_Expr, .flags = RD_WatchCellFlag_Indented, .pct = 1.f);
|
||||||
}
|
}
|
||||||
|
|
||||||
// rjf: singular button for commands
|
// rjf: singular button for commands
|
||||||
|
|||||||
Reference in New Issue
Block a user