@urso/core 0.6.17 → 0.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -246,6 +246,9 @@ class ModulesObjectsModelsSpine extends Urso.Core.Modules.Objects.BaseModel {
|
|
|
246
246
|
if (!spineAsset)
|
|
247
247
|
Urso.logger.error('ModulesObjectsModelsSpine assets error: no spine object ' + this.assetKey);
|
|
248
248
|
|
|
249
|
+
if (!spineAsset.spineData)
|
|
250
|
+
Urso.logger.error('ModulesObjectsModelsSpine assets error: no spine correct object (no spineData) for key ' + this.assetKey);
|
|
251
|
+
|
|
249
252
|
this._baseObject = new PIXI.spine.Spine(spineAsset.spineData);
|
|
250
253
|
//this._baseObject.state.timeScale = this.animation.timeScale;
|
|
251
254
|
Object.defineProperty(this._baseObject.state, 'timeScale', { get: this.getTimeScale.bind(this) });
|