allow stock to be 0 offset
This commit is contained in:
parent
476a9bdb96
commit
3aaf014a1c
2 changed files with 2 additions and 2 deletions
|
|
@ -1095,7 +1095,7 @@ var gs_kiri_cam = exports;
|
|||
}
|
||||
});
|
||||
|
||||
// facing (once used fill, now part of roughing)
|
||||
// facing (previously separate. now part of roughing)
|
||||
layer = slice.layers.fill;
|
||||
slice.tops.forEach(function(top) {
|
||||
if (top.fill_lines) {
|
||||
|
|
|
|||
|
|
@ -1210,7 +1210,7 @@ self.kiri.copyright = exports.COPYRIGHT;
|
|||
function platformUpdateStock(refresh) {
|
||||
let sd = settings.process;
|
||||
let offset = UI.camStockOffset.checked;
|
||||
let stockSet = sd.camStockX && sd.camStockY && sd.camStockZ >= 0;
|
||||
let stockSet = offset || (sd.camStockX && sd.camStockY && sd.camStockZ > 0);
|
||||
let scale = unitScale();
|
||||
settings.stock = { };
|
||||
camTopZ = topZ;
|
||||
|
|
|
|||
Loading…
Reference in a new issue