fix surface / trace selection copy on hover/pop/new op
This commit is contained in:
parent
0b0233bbf6
commit
8c32b1ba5a
3 changed files with 9 additions and 3 deletions
|
|
@ -343,6 +343,8 @@ CAM.init = function(kiri, api) {
|
|||
};
|
||||
|
||||
func.opAddPocket = () => {
|
||||
func.traceDone();
|
||||
func.surfaceDone();
|
||||
let rec = popOp.pocket.new();
|
||||
rec.surfaces = { /* widget.id: [ faces... ] */ };
|
||||
func.opAdd(rec);
|
||||
|
|
@ -527,6 +529,9 @@ CAM.init = function(kiri, api) {
|
|||
popped = false;
|
||||
};
|
||||
function onEnter(ev) {
|
||||
if ((surfaceOn || traceOn) && poppedRec != rec) {
|
||||
return;
|
||||
}
|
||||
if (popped && poppedRec != rec) {
|
||||
func.surfaceDone();
|
||||
func.traceDone();
|
||||
|
|
|
|||
|
|
@ -400,6 +400,7 @@ function prepEach(widget, settings, print, firstPoint, update) {
|
|||
if (synthPlunge && threshold && modifier && deltaXY > tolerance) {
|
||||
// use modifier to speed up long XY move plunge rates
|
||||
rate = Math.round(plungeRate + ((feedRate - plungeRate) * modifier));
|
||||
cut = 1;
|
||||
} else {
|
||||
rate = Math.min(feedRate, plungeRate);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue