improve model/group selection with shiftKey. prevent drag/move unless shiftKey
This commit is contained in:
parent
fd645737e2
commit
356a2634e8
3 changed files with 32 additions and 9 deletions
|
|
@ -875,7 +875,11 @@
|
|||
let delta = mouseDragPoint.clone().sub(int[0].point);
|
||||
let offset = mouseDragStart.clone().sub(int[0].point);
|
||||
mouseDragPoint = int[0].point;
|
||||
mouseDrag({x: -delta.x, y: delta.z}, offset.multiplyVectors(offset, trackDelta));
|
||||
mouseDrag({
|
||||
x: -delta.x,
|
||||
y: delta.z,
|
||||
event
|
||||
}, offset.multiplyVectors(offset, trackDelta));
|
||||
requestRefresh();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue