fix updating stock after anim2 cancellation
This commit is contained in:
parent
3fff787c68
commit
5a726c49c8
1 changed files with 2 additions and 2 deletions
|
|
@ -124,8 +124,8 @@ CAM.init = function(kiri, api) {
|
|||
|
||||
api.event.on("function.export", (mode) => {
|
||||
if (isAnimate) {
|
||||
animFn().animate_clear(api);
|
||||
isAnimate = false;
|
||||
animFn().animate_clear(api);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -1632,10 +1632,10 @@ function updateStock(args, event) {
|
|||
if (isAnimate) {
|
||||
if (isIndexed) {
|
||||
SPACE.world.remove(camStock);
|
||||
camStock = undefined;
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (!isCamMode) {
|
||||
SPACE.world.remove(camZBottom);
|
||||
SPACE.world.remove(camStock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue