Merge pull request #7186 from billtt/v3_fixNodeSetScale

fix a bug that Node::setScale(float) may not work properly
This commit is contained in:
minggo 2014-06-25 14:41:15 +08:00
commit 6a3d3aa4a4
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ float Node::getScale(void) const
/// scale setter
void Node::setScale(float scale)
{
if (_scaleX == scale)
if (_scaleX == scale && _scaleY == scale && _scaleZ == scale)
return;
#if CC_USE_PHYSICS