|
@@ -358,7 +358,7 @@ export class DefaultViewer extends AbstractViewer {
|
|
} else {
|
|
} else {
|
|
|
|
|
|
let animationNames = model.getAnimationNames();
|
|
let animationNames = model.getAnimationNames();
|
|
- newParams.animations = animationNames;
|
|
|
|
|
|
+ newParams.animations = animationNames.map(a => { return { label: a, value: a } });
|
|
if (animationNames.length) {
|
|
if (animationNames.length) {
|
|
this._isAnimationPaused = (model.configuration.animation && !model.configuration.animation.autoStart) || !model.configuration.animation;
|
|
this._isAnimationPaused = (model.configuration.animation && !model.configuration.animation.autoStart) || !model.configuration.animation;
|
|
this._animationList = animationNames;
|
|
this._animationList = animationNames;
|