From db004b91d62404870ed73ddb99bdf550bf28dc59 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 29 Nov 2022 14:08:36 +0100 Subject: imgui: remove duplicate assert --- editor/imgui-scenery.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'editor') 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()); -- cgit v1.2.3