mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-04 18:42:40 +08:00
Merge branch 'v1.3' of github.com:cocos-creator/engine into v1.3
This commit is contained in:
@@ -44,6 +44,10 @@ var DragonBonesAsset = cc.Class({
|
||||
}
|
||||
},
|
||||
|
||||
statics: {
|
||||
preventDeferredLoadDependents: true
|
||||
},
|
||||
|
||||
createNode: CC_EDITOR && function (callback) {
|
||||
var node = new cc.Node(this.name);
|
||||
var armatureDisplay = node.addComponent(dragonBones.ArmatureDisplay);
|
||||
|
||||
@@ -51,6 +51,10 @@ var DragonBonesAtlasAsset = cc.Class({
|
||||
},
|
||||
},
|
||||
|
||||
statics: {
|
||||
preventDeferredLoadDependents: true
|
||||
},
|
||||
|
||||
createNode: CC_EDITOR && function (callback) {
|
||||
var node = new cc.Node(this.name);
|
||||
var armatureDisplay = node.addComponent(dragonBones.ArmatureDisplay);
|
||||
|
||||
Reference in New Issue
Block a user