mirror of https://github.com/axmolengine/axmol.git
fix a potential bug of CCSkin. It will cause the display of CCSkin wrongly.
This commit is contained in:
parent
646dd2f8c5
commit
43ff0c42cf
|
@ -216,7 +216,7 @@ kmMat4 Skin::getNodeToWorldTransformAR() const
|
|||
displayTransform.mat[12] = anchorPoint.x;
|
||||
displayTransform.mat[13] = anchorPoint.y;
|
||||
|
||||
return TransformConcat(displayTransform, _bone->getArmature()->getNodeToWorldTransform());
|
||||
return TransformConcat( _bone->getArmature()->getNodeToWorldTransform(),displayTransform);
|
||||
}
|
||||
|
||||
void Skin::draw()
|
||||
|
|
Loading…
Reference in New Issue