From cd006bb9a4db0b0410ccabce56b32b4d49ecdff2 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Dec 2023 05:55:09 +0100 Subject: a --- src/wall-atlas.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/wall-atlas.cpp') diff --git a/src/wall-atlas.cpp b/src/wall-atlas.cpp index bb9013fd..443ebd92 100644 --- a/src/wall-atlas.cpp +++ b/src/wall-atlas.cpp @@ -77,9 +77,6 @@ wall_atlas::wall_atlas(wall_atlas_def def, String path, const ImageView2D& img) if (!G.is_defined) continue; found = true; - if (G.count == 0) [[unlikely]] - fm_throw("wall_atlas '{}' defined group {}/{} has no frames!"_cf, - _path, dir_name, group_name); fm_soft_assert(G.index < frame_count && G.index + G.count <= frame_count); const auto size = expected_size(_info.depth, gr); for (const auto& frame : ArrayView { &_frame_array[G.index], G.count }) -- cgit v1.2.3