mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-09-24 08:14:36 +00:00
[engine] [cocos2d-x] [jsb-adapter] 适配引擎 v2.4.12 版本
This commit is contained in:
@@ -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);
|
||||
|
@@ -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 && {
|
||||
|
Reference in New Issue
Block a user