diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 14:20:16 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 14:20:16 +0200 |
commit | 7a38c6c434e03256d9e9fbff87516b3ad1e3958a (patch) | |
tree | 2cb34a9613fc7f50a6bd7dc0d03eca448e3f5567 /anim-crop-tool/main.cpp | |
parent | 9a0d8a428b21a77272380009d97436b0a5f20d8c (diff) |
macro shenanigans
Diffstat (limited to 'anim-crop-tool/main.cpp')
-rw-r--r-- | anim-crop-tool/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp index 126c3aa3..353a6be1 100644 --- a/anim-crop-tool/main.cpp +++ b/anim-crop-tool/main.cpp @@ -64,7 +64,7 @@ static std::tuple<cv::Vec2i, cv::Vec2i, bool> find_image_bounds(const cv::Mat4b& [[nodiscard]] static bool load_file(anim_group& group, options& opts, anim_atlas& atlas, const path& filename) { - auto mat = progn( + auto mat = fm_begin( cv::Mat mat = cv::imread(filename.string(), cv::IMREAD_UNCHANGED); if (mat.empty() || mat.type() != CV_8UC4) { |