Merge pull request #3 from geron-cn/develop

repair bug: changedisplay(armature,i>=0) does not reblind parentbone
This commit is contained in:
yinkaile 2014-03-11 13:44:27 +08:00
commit c60e0676f7
1 changed files with 1 additions and 0 deletions

View File

@ -294,6 +294,7 @@ void DisplayManager::setCurrentDecorativeDisplay(DecorativeDisplay *decoDisplay)
if (Armature *armature = dynamic_cast<Armature *>(_displayRenderNode))
{
_bone->setChildArmature(armature);
armature->setParentBone(_bone);
}
else if (ParticleSystemQuad *particle = dynamic_cast<ParticleSystemQuad *>(_displayRenderNode))
{