[engine] [cocos2d-x] [jsb-adapter] 适配引擎 v2.4.12 版本

This commit is contained in:
SmallMain
2023-10-30 22:32:32 +08:00
parent 2508616ad9
commit 0092eb9f05
787 changed files with 206249 additions and 422 deletions

View File

@@ -443,6 +443,7 @@ var Sprite = cc.Class({
onEnable () {
this._super();
this._validateRender();
this._spriteFrame && this._spriteFrame.isValid && this._spriteFrame.ensureLoadTexture();
this.node.on(cc.Node.EventType.SIZE_CHANGED, this.setVertsDirty, this);

View File

@@ -55,7 +55,7 @@ var StudioComponent = cc.Class({
extends: cc.Component,
editor: CC_EDITOR && {
inspector: 'unpack://engine-dev/extensions/cocostudio/editor/studio-component.js'
inspector: 'unpack://engine/extensions/cocostudio/editor/studio-component.js'
},
properties: CC_EDITOR && {