chore: log
This commit is contained in:
parent
a906073b91
commit
3ae24411e1
|
@ -129,7 +129,7 @@ export default class Animated extends decorate(Trait) {
|
||||||
// Bounding box update.
|
// Bounding box update.
|
||||||
this.entity.updateVisibleBoundingBox();
|
this.entity.updateVisibleBoundingBox();
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
console.error(`Failed loading some or all animations.`);
|
console.error(`Failed loading some or all animations for '${this.entity.uri}'.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -159,7 +159,7 @@ export default class Animated extends decorate(Trait) {
|
||||||
});
|
});
|
||||||
this.setSpriteScale();
|
this.setSpriteScale();
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
console.error(`Failed loading some or all animation images.`);
|
console.error(`Failed loading some or all animation images for '${this.entity.uri}'.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user