From b0925a6a5e16dce10cb9b5bd99b62f96b2953441 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 11 Jun 2022 10:22:52 +0200 Subject: . --- crop-tool/serialize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crop-tool/serialize.cpp') diff --git a/crop-tool/serialize.cpp b/crop-tool/serialize.cpp index 34d70faa..acefe436 100644 --- a/crop-tool/serialize.cpp +++ b/crop-tool/serialize.cpp @@ -80,8 +80,8 @@ void adl_serializer::from_json(const json& j, anim_direction& x) } // namespace nlohmann -NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim_frame, ground); -NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim_group, direction, frames, ground); +NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim_frame, ground, offset, size); +NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim_group, name, frames, ground); NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(anim, name, nframes, actionframe, fps, groups); std::optional anim::from_json(const std::filesystem::path& pathname) -- cgit v1.2.3