mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-24 17:26:41 +00:00
Fix bug that a bone's rq="0" attribute would disappear when skel was saved while visible
This commit is contained in:
parent
61f1e87180
commit
1de786efc6
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ bool SkeletalSprite::saveSkeletal(const std::string &fn)
|
||||||
bone->SetAttribute("fv", this->bones[i]->isfv());
|
bone->SetAttribute("fv", this->bones[i]->isfv());
|
||||||
bone->SetAttribute("gc", this->bones[i]->generateCollisionMask);
|
bone->SetAttribute("gc", this->bones[i]->generateCollisionMask);
|
||||||
bone->SetAttribute("cr", this->bones[i]->collideRadius);
|
bone->SetAttribute("cr", this->bones[i]->collideRadius);
|
||||||
if (!this->bones[i]->renderQuad)
|
if (!this->bones[i]->fileRenderQuad)
|
||||||
{
|
{
|
||||||
bone->SetAttribute("rq", this->bones[i]->fileRenderQuad);
|
bone->SetAttribute("rq", this->bones[i]->fileRenderQuad);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue