avoid worker restart unless it's slicing
This commit is contained in:
parent
4471f728cc
commit
41d30cef0c
3 changed files with 8 additions and 2 deletions
|
|
@ -2556,7 +2556,7 @@ self.kiri.license = exports.LICENSE;
|
|||
// hide all dialogs
|
||||
hideDialog();
|
||||
// cancel slicing
|
||||
KIRI.work.restart();
|
||||
if (KIRI.work.isSlicing()) KIRI.work.restart();
|
||||
break;
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue