mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-03 01:12:42 +08:00
fix sprite update renderData onEnable (#3085)
This commit is contained in:
@@ -444,7 +444,7 @@ var Sprite = cc.Class({
|
||||
}
|
||||
|
||||
this._updateAssembler();
|
||||
this._renderData.uvDirty = true;
|
||||
this.markForUpdateRenderData(true);
|
||||
|
||||
this.node.on(NodeEvent.SIZE_CHANGED, this._onNodeSizeDirty, this);
|
||||
this.node.on(NodeEvent.ANCHOR_CHANGED, this._onNodeSizeDirty, this);
|
||||
|
||||
Reference in New Issue
Block a user