diff --git a/cocos2d/core/CCNode.js b/cocos2d/core/CCNode.js index ba9fb7e5744..4f80edd30de 100644 --- a/cocos2d/core/CCNode.js +++ b/cocos2d/core/CCNode.js @@ -560,7 +560,7 @@ var Node = cc.Class({ default: undefined, type: cc.Float }, - _scale: cc.Vec3, + _scale: cc.v3(1, 1, 1), _rotationX: 0.0, _rotationY: 0.0, _quat: cc.Quat, @@ -1150,11 +1150,6 @@ var Node = cc.Class({ // Mouse event listener this._mouseListener = null; - // default scale - this._scale.x = 1; - this._scale.y = 1; - this._scale.z = 1; - this._matrix = mathPools.mat4.get(); this._worldMatrix = mathPools.mat4.get(); this._localMatDirty = LocalDirtyFlag.ALL;