diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-29 14:08:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-29 14:08:36 +0100 |
commit | db004b91d62404870ed73ddb99bdf550bf28dc59 (patch) | |
tree | 04faece6ba249e173a314f2416b17f2b7d8e8d7f /editor | |
parent | 072a31ed18eda341b1ceadf2432233848a922512 (diff) |
imgui: remove duplicate assert
Diffstat (limited to 'editor')
-rw-r--r-- | editor/imgui-scenery.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/imgui-scenery.cpp b/editor/imgui-scenery.cpp index c8ae426b..bc680189 100644 --- a/editor/imgui-scenery.cpp +++ b/editor/imgui-scenery.cpp @@ -48,7 +48,6 @@ void app::draw_editor_scenery_pane(scenery_editor& ed) auto& atlas = *scenery.proto.atlas; const auto r = atlas.next_rotation_from(rotation_COUNT); const auto& frame = atlas.frame(r, 0); - fm_debug_assert(frame.size.product() != 0); const auto size = Vector2(frame.size); const float c = std::min(thumbnail_width / size[0], row_height / size[1]); const auto texcoords = atlas.texcoords_for_frame(r, 0, !atlas.group(r).mirror_from.isEmpty()); |