fix skeleton name serialization

This commit is contained in:
MihailRis 2026-01-18 17:57:21 +03:00
parent 01ddb0bfba
commit d07c8e5234
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ dv::value Entity::serialize() const {
if (skeleton != nullptr) {
if (skeleton->config->getName() != def.skeletonName) {
root["skeleton"] = skeleton->config->getName();
root["skeleton-name"] = skeleton->config->getName();
}
if (def.save.skeleton.pose || def.save.skeleton.textures) {
root[COMP_SKELETON] = skeleton->serialize(