fix a potential bug of CCSkin. It will cause the display of CCSkin wrongly.

This commit is contained in:
andyque 2014-01-24 11:05:34 +08:00
parent 646dd2f8c5
commit 43ff0c42cf
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ kmMat4 Skin::getNodeToWorldTransformAR() const
displayTransform.mat[12] = anchorPoint.x; displayTransform.mat[12] = anchorPoint.x;
displayTransform.mat[13] = anchorPoint.y; displayTransform.mat[13] = anchorPoint.y;
return TransformConcat(displayTransform, _bone->getArmature()->getNodeToWorldTransform()); return TransformConcat( _bone->getArmature()->getNodeToWorldTransform(),displayTransform);
} }
void Skin::draw() void Skin::draw()