diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-06-11 10:22:52 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-06-11 10:22:52 +0200 |
| commit | b0925a6a5e16dce10cb9b5bd99b62f96b2953441 (patch) | |
| tree | 46c5e2fd241f136977f8048b1781a2d8e9af1b86 /crop-tool/serialize.cpp | |
| parent | 1a3bfe8f4dd7eb2cfbe898bfbe82931f9fc273ec (diff) | |
.
Diffstat (limited to 'crop-tool/serialize.cpp')
| -rw-r--r-- | crop-tool/serialize.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<anim_direction>::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> anim::from_json(const std::filesystem::path& pathname) |
