From 76d6b518a54e9e91e7ca6b2856166492ec5ddd42 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Wed, 6 Nov 2024 20:29:59 +0300 Subject: [PATCH] fix ParticlesPreset.serialize --- src/presets/ParticlesPreset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/presets/ParticlesPreset.cpp b/src/presets/ParticlesPreset.cpp index 774ab553..31b0cff2 100644 --- a/src/presets/ParticlesPreset.cpp +++ b/src/presets/ParticlesPreset.cpp @@ -26,7 +26,7 @@ dv::value ParticlesPreset::serialize() const { if (frames.empty()) { root["texture"] = texture; } else { - auto& arr = root.list("animation"); + auto& arr = root.list("frames"); for (const auto& frame : frames) { arr.add(frame); }