when there is a child in Armature, I get a wrong boundingBox
see the upload image
I hack the code:
….
CCARRAY_FOREACH(m_pChildren, object)
{
if (CCBone *bone = dynamic_cast<CCBone >)
{
CCArmature child = bone~~>getChildArmature;
CCRect r;
if{
r = child~~>boundingBox();
}else{
r = bone->getDisplayManager()->getBoundingBox();
}
……
now the boundingBox is right I thrink。
I’m not sure it’s a bug or not.
any suggest?
I0{`35(XALCTHVBW)GQOWIS.jpg (85.2 KB)
K{P)Q_LH[A]FHK_1_HE5AH1.jpg (87.8 KB)