Commit: 81f899c0dc717481099f3132da3b263593d8b0ab
Parent: a094b2c9a419738f1179e56630dfc7f7fe5c1d82
Author: Randy Palamar
Date: Thu, 13 Mar 2025 11:33:30 -0600
ui: if you want the variable to be set you need to set it
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/ui.c b/ui.c
@@ -1403,6 +1403,8 @@ ui_init(BeamformerCtx *ctx, Arena store)
beamformer_parameters_view_init(ctx);
+ ui->scratch_variable = ui->scratch_variables + 0;
+
/* NOTE(rnp): by default we always have at least one view */
Variable *var = add_variable(&ui->beamform_views, &ui->arena, s8("Beamformed Views"), 0,
VT_BEAMFORMER_VIEW, ui->font);