clear animation when export initiated
This commit is contained in:
parent
f6eea4d6a4
commit
9b4017b8c1
3 changed files with 10 additions and 5 deletions
|
|
@ -55,6 +55,13 @@
|
|||
});
|
||||
});
|
||||
|
||||
api.event.on("function.export", (mode) => {
|
||||
if (isAnimate) {
|
||||
CAM.animate_clear(api);
|
||||
isAnimate = false;
|
||||
}
|
||||
});
|
||||
|
||||
api.event.on("mode.set", (mode) => {
|
||||
isCamMode = mode === 'CAM';
|
||||
$('set-tools').style.display = isCamMode ? '' : 'none';
|
||||
|
|
|
|||
Loading…
Reference in a new issue