restyle output tiles. fix print loop on cnc with no output
This commit is contained in:
parent
a4febca6b7
commit
cfa3792d2b
3 changed files with 78 additions and 17 deletions
|
|
@ -879,7 +879,13 @@ self.kiri.license = exports.LICENSE;
|
|||
// kick off slicing it hasn't been done already
|
||||
for (var i=0; i < WIDGETS.length; i++) {
|
||||
if (!WIDGETS[i].slices || WIDGETS[i].isModified()) {
|
||||
prepareSlices(function() { preparePrint(callback) });
|
||||
prepareSlices(function() {
|
||||
if (!WIDGETS[i].slices || WIDGETS[i].isModified()) {
|
||||
alert("nothing to print");
|
||||
} else {
|
||||
preparePrint(callback);
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue