diff options
Diffstat (limited to 'editor/imgui-inspect.cpp')
-rw-r--r-- | editor/imgui-inspect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/imgui-inspect.cpp b/editor/imgui-inspect.cpp index f7543788..b673c9d5 100644 --- a/editor/imgui-inspect.cpp +++ b/editor/imgui-inspect.cpp @@ -48,7 +48,7 @@ void app::draw_inspector() snformat(buf, "{} ({}x{} -> {}x{})"_cf, name, ch.x, ch.y, (int)pos.x, (int)pos.y); bool is_open = true; if (auto b2 = begin_window(buf, &is_open)) - c.with_scenery_bbox_update(s.index(), [&] { return entities::inspect_type(s); }); + c.with_scenery_update(s.index(), [&] { return entities::inspect_type(s); }); if (!is_open) inspectors.erase(inspectors.begin() + (int)i); } |