Skip to content

Commit a9cba77

Browse files
author
pandamicro
committed
Made orderDirty flag properly set for node
1 parent 9df9cbc commit a9cba77

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cocos2d/core/base-nodes/CCNode.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,6 @@ cc.Node = cc.Class.extend(/** @lends cc.Node# */{
306306
* @param {Number} localZOrder
307307
*/
308308
setLocalZOrder: function (localZOrder) {
309-
this._localZOrder = localZOrder;
310309
if (this._parent)
311310
this._parent.reorderChild(this, localZOrder);
312311
cc.eventManager._setDirtyForNode(this);

0 commit comments

Comments
 (0)