|
@@ -438,6 +438,15 @@ const delAnimate = (i: number) => {
|
|
|
meta2d.stopAnimate(props.pen.id);
|
|
|
isPlaying.value = undefined;
|
|
|
}
|
|
|
+ if(props.pen.animate) {
|
|
|
+ meta2d.setValue({
|
|
|
+ id:props.pen.id,
|
|
|
+ animate:undefined,
|
|
|
+ animateCycle:undefined,
|
|
|
+ autoPlay:undefined,
|
|
|
+ frames:[]
|
|
|
+ })
|
|
|
+ }
|
|
|
props.pen.animations.splice(i, 1);
|
|
|
animate.value = undefined;
|
|
|
};
|