From 1de786efc6d1dbb2ecaface455221048cf0a63e4 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Fri, 6 Sep 2019 02:56:53 +0200 Subject: [PATCH] Fix bug that a bone's rq="0" attribute would disappear when skel was saved while visible --- BBGE/SkeletalSprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BBGE/SkeletalSprite.cpp b/BBGE/SkeletalSprite.cpp index 19a91cb..8a7205d 100644 --- a/BBGE/SkeletalSprite.cpp +++ b/BBGE/SkeletalSprite.cpp @@ -895,7 +895,7 @@ bool SkeletalSprite::saveSkeletal(const std::string &fn) bone->SetAttribute("fv", this->bones[i]->isfv()); bone->SetAttribute("gc", this->bones[i]->generateCollisionMask); bone->SetAttribute("cr", this->bones[i]->collideRadius); - if (!this->bones[i]->renderQuad) + if (!this->bones[i]->fileRenderQuad) { bone->SetAttribute("rq", this->bones[i]->fileRenderQuad); }