summaryrefslogtreecommitdiffhomepage
path: root/anim-crop-tool
diff options
context:
space:
mode:
Diffstat (limited to 'anim-crop-tool')
-rw-r--r--anim-crop-tool/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp
index 430e4b80..215d9994 100644
--- a/anim-crop-tool/main.cpp
+++ b/anim-crop-tool/main.cpp
@@ -291,6 +291,7 @@ int main(int argc, char** argv)
<< std::strerror(errno); // NOLINT(concurrency-mt-unsafe)
return EX_CANTCREAT;
}
+ anim_info.pixel_size = Magnum::Vector2ui(atlas.size());
floormat::json_helper::to_json<anim>(anim_info, opts.output_dir/(base_name + ".json"));
return 0;