|
@@ -94639,7 +94639,7 @@ var ViewerModel = (function () {
|
|
ag.addTargetedAnimation(a.animations[0], a);
|
|
ag.addTargetedAnimation(a.animations[0], a);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- _this._animations.push(new modelAnimation_1.GroupModelAnimation(ag));
|
|
|
|
|
|
+ _this.addAnimationGroup(ag);
|
|
});
|
|
});
|
|
}
|
|
}
|
|
if (!this._modelConfiguration)
|
|
if (!this._modelConfiguration)
|
|
@@ -94657,6 +94657,9 @@ var ViewerModel = (function () {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
+ ViewerModel.prototype.addAnimationGroup = function (animationGroup) {
|
|
|
|
+ this._animations.push(new modelAnimation_1.GroupModelAnimation(animationGroup));
|
|
|
|
+ };
|
|
ViewerModel.prototype.getAnimations = function () {
|
|
ViewerModel.prototype.getAnimations = function () {
|
|
return this._animations;
|
|
return this._animations;
|
|
};
|
|
};
|
|
@@ -94811,7 +94814,7 @@ var ViewerModel = (function () {
|
|
_this._loaderDisposed = true;
|
|
_this._loaderDisposed = true;
|
|
};
|
|
};
|
|
gltfLoader.onAnimationGroupLoaded = function (ag) {
|
|
gltfLoader.onAnimationGroupLoaded = function (ag) {
|
|
- _this._animations.push(new modelAnimation_1.GroupModelAnimation(ag));
|
|
|
|
|
|
+ _this.addAnimationGroup(ag);
|
|
};
|
|
};
|
|
}
|
|
}
|
|
};
|
|
};
|