checkpoint support work
This commit is contained in:
parent
d9c69fa5be
commit
373f133464
3 changed files with 52 additions and 20 deletions
|
|
@ -65,9 +65,9 @@
|
|||
}
|
||||
|
||||
function exportLaserDialog(data) {
|
||||
if (!isPrepared()) {
|
||||
return API.function.prepare(exportLaser);
|
||||
}
|
||||
// if (!isPrepared()) {
|
||||
// return API.function.prepare(exportLaser);
|
||||
// }
|
||||
|
||||
const filename = "laser-"+(new Date().getTime().toString(36));
|
||||
const settings = API.conf.get();
|
||||
|
|
|
|||
|
|
@ -1917,10 +1917,10 @@
|
|||
SPACE.mouse.downSelect((int,event) => {
|
||||
if (API.feature.hover) {
|
||||
if (int) {
|
||||
API.event.emit('mouse.hover.down', int);
|
||||
API.event.emit('mouse.hover.down', {int, point: int.point});
|
||||
return;
|
||||
}
|
||||
return API.widgets.meshes();
|
||||
return// API.widgets.meshes().slice().append(SPACE.internals().platform);
|
||||
}
|
||||
// lay flat with meta or ctrl clicking a selected face
|
||||
if (int && (event.ctrlKey || event.metaKey || API.feature.on_face_select)) {
|
||||
|
|
@ -1955,7 +1955,9 @@
|
|||
});
|
||||
|
||||
SPACE.mouse.onDrag(function(delta) {
|
||||
if (API.feature.hover) return;
|
||||
if (API.feature.hover) {
|
||||
return;
|
||||
}
|
||||
if (delta && UI.freeLayout.checked) {
|
||||
let set = settings();
|
||||
let dev = set.device;
|
||||
|
|
|
|||
Loading…
Reference in a new issue