diff options
| author | aura <nw@moneybot.cc> | 2026-03-16 10:15:01 +0100 |
|---|---|---|
| committer | aura <nw@moneybot.cc> | 2026-03-16 10:15:01 +0100 |
| commit | fdc5e8760fb7ac0af8e7ebb98a2076db15e31082 (patch) | |
| tree | c94991e1e594c7703295aa413caf40786f343c1f /src/editor/properties.cpp | |
| parent | e2829336cfedb39d23263f75b61ed969c8193534 (diff) | |
giga refactor, fix ALL the leaks
Diffstat (limited to 'src/editor/properties.cpp')
| -rw-r--r-- | src/editor/properties.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/editor/properties.cpp b/src/editor/properties.cpp index ac21bb0..f3e9473 100644 --- a/src/editor/properties.cpp +++ b/src/editor/properties.cpp @@ -139,7 +139,7 @@ void gui_editor_propview_create_wallprops( GUI_EDITOR_PROPVIEW* view ) { } ); gui_label( x, y, "idx: %d", wall_idx ); y += space; - y += gui_editor_propview_surfprops_subentry( view, x, y, &s->propid, props ); + y += gui_editor_propview_surfprops_subentry( view, x, y, &s->propid.id, props ); GUI_VECTORINPUT* posinput; posinput = gui_vectorinput( x, y, propview_input_width( view ), "start", (F32*)&s->start, 3, -INFINITY, INFINITY, step ); y += (space+18); @@ -162,7 +162,7 @@ void gui_editor_propview_create_polyprops( GUI_EDITOR_PROPVIEW* view ) { I32 action_x = propview_action_x( view ); gui_label( x, y, "idx: %d", poly_idx ); y += space; - y += gui_editor_propview_surfprops_subentry( view, x, y, &p->propid, props ); + y += gui_editor_propview_surfprops_subentry( view, x, y, &p->propid.id, props ); gui_label( x, y, "vertices: %d", p->vertices.size ); y += space; I32 idx = 0; @@ -192,7 +192,7 @@ void gui_editor_propview_create_mapprops( GUI_EDITOR_PROPVIEW* view ) { F32 step = editor->propgrid? editor->grid : 0.25f; - gui_label( x, y, "name: %s", m->name ); y += space; + gui_label( x, y, "name: %s", m->name.data ); y += space; gui_label( x, y, "walls: %d", m->walls.size ); y += space; gui_label( x, y, "polygons: %d", m->polygons.size ); y += space; gui_label( x, y, "props: %d", m->props.size ); y += space; |
