fixed #1009: fix a typo error

This commit is contained in:
minggo 2012-03-06 09:35:36 +08:00
parent 11f47b8464
commit ed68855e19
1 changed files with 4 additions and 4 deletions

View File

@ -140,16 +140,16 @@ void CCNode::setSkewX(float newSkewX)
float CCNode::getSkewY()
{
return m_fSkewY;
m_bIsTransformDirty = m_bIsInverseDirty = true;
#if CC_NODE_TRANSFORM_USING_AFFINE_MATRIX
m_bIsTransformGLDirty = true;
#endif
}
void CCNode::setSkewY(float newSkewY)
{
m_fSkewY = newSkewY;
m_bIsTransformDirty = m_bIsInverseDirty = true;
#if CC_NODE_TRANSFORM_USING_AFFINE_MATRIX
m_bIsTransformGLDirty = true;
#endif
}
/// zOrder getter