diff options
Diffstat (limited to 'anim-crop-tool/main.cpp')
| -rw-r--r-- | anim-crop-tool/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp index 11b1d165..126c3aa3 100644 --- a/anim-crop-tool/main.cpp +++ b/anim-crop-tool/main.cpp @@ -89,12 +89,12 @@ static bool load_file(anim_group& group, options& opts, anim_atlas& atlas, const if (opts.scale == 0.0) { - ASSERT(opts.width || opts.height); + fm_assert(opts.width || opts.height); if (opts.width) opts.scale = (double)opts.width / size.width; else opts.scale = (double)opts.height / size.height; - ASSERT(opts.scale > 1e-6); + fm_assert(opts.scale > 1e-6); } const cv::Size dest_size = { |
