Skip to content

Commit

Permalink
Animator editor (galacean#463)
Browse files Browse the repository at this point in the history
* refactor: remove log
  • Loading branch information
luzhuang authored Aug 31, 2021
1 parent 20d73ca commit 6f73f46
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export class AnimationClipResource extends SchemaResource {
event.parameter = eventData.parameter;
assetObj.addEvent(event);
}
console.log("AnimationClipResource load", assetConfig, assetObj);
this._resource = assetObj;
this.setMeta();
resolve(this);
Expand All @@ -70,13 +69,11 @@ export class AnimationClipResource extends SchemaResource {
let loadPromise;
if (assetConfig.resource instanceof AnimationClip) {
loadPromise = new Promise((resolve) => {
console.log("AnimationClipResource loadWithAttachedResources AnimationClip");
this._resource = assetConfig.resource;
this.setMeta();
resolve(this);
});
} else if (assetConfig.props) {
console.log("AnimationClipResource loadWithAttachedResources props");
loadPromise = this.load(resourceManager, assetConfig);
} else {
reject("Load AnimationClip Error");
Expand Down Expand Up @@ -120,7 +117,6 @@ export class AnimationClipResource extends SchemaResource {
};
});
result.events = clip.events;
console.log("AnimationClipResource getProps", this.resource, result);
return result;
}

Expand Down

0 comments on commit 6f73f46

Please sign in to comment.