irtree parent experiment (failed)

This commit is contained in:
Ryan Fleury
2025-04-10 16:20:52 -07:00
parent b7e12f900c
commit 297c576623
3 changed files with 74 additions and 7 deletions
+8 -2
View File
@@ -4056,7 +4056,10 @@ rd_view_ui(Rng2F32 rect)
}
// rjf: view ui contents
cell_info.view_ui_rule->ui(cell_info.eval, cell_rect);
E_IRTreeParentScope(cell_info.eval.irtree)
{
cell_info.view_ui_rule->ui(cell_info.eval, cell_rect);
}
// rjf: loading fill
UI_Parent(loading_overlay_container)
@@ -4475,7 +4478,10 @@ rd_view_ui(Rng2F32 rect)
Temp scratch = scratch_begin(0, 0);
RD_ViewUIRule *view_ui_rule = rd_view_ui_rule_from_string(view_name);
E_Eval expr_eval = e_eval_from_string(scratch.arena, expr_string);
view_ui_rule->ui(expr_eval, rect);
E_IRTreeParentScope(expr_eval.irtree)
{
view_ui_rule->ui(expr_eval, rect);
}
scratch_end(scratch);
}
}