hide (unused) preview in SLA. allow base SLA support to grow to raft edge
This commit is contained in:
parent
e0b0b7c1e5
commit
d1060ca457
3 changed files with 7 additions and 3 deletions
|
|
@ -443,7 +443,7 @@ let gs_kiri_sla = exports;
|
|||
}
|
||||
} else if (!track.max || low) {
|
||||
size += inc;
|
||||
if (low) max *= 2;
|
||||
if (low) max += (process.slaSupportGap * process.slaSlice * 2);
|
||||
}
|
||||
|
||||
if (size < track.min) {
|
||||
|
|
|
|||
|
|
@ -314,7 +314,10 @@ var gs_kiri_init = exports;
|
|||
API.function.slice();
|
||||
break;
|
||||
case cca('p'): // prepare print
|
||||
API.function.print();
|
||||
if (API.mode.get() !== 'SLA') {
|
||||
// hidden in SLA mode
|
||||
API.function.print();
|
||||
}
|
||||
break;
|
||||
case cca('P'): // position widget
|
||||
positionSelection();
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ self.kiri.copyright = exports.COPYRIGHT;
|
|||
SETUP
|
||||
},
|
||||
var: {
|
||||
layer_at: 0,
|
||||
layer_at: Infinity,
|
||||
layer_max: 0,
|
||||
layer_range: 0
|
||||
},
|
||||
|
|
@ -1900,6 +1900,7 @@ self.kiri.copyright = exports.COPYRIGHT;
|
|||
UI.mode.style.display = lock ? 'none' : '';
|
||||
UI.modeTable.style.display = lock ? 'none' : '';
|
||||
UI.modelOpacity.style.display = MODE === MODES.SLA ? 'none' : '';
|
||||
UI.modePreview.style.display = MODE === MODES.SLA ? 'none' : '';
|
||||
if (camStock) {
|
||||
camStock.material.visible = settings.mode === 'CAM';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue