set view mode on part move,rotate,scale. debug code for tab intersections

This commit is contained in:
Stewart Allen 2020-11-19 21:04:45 -05:00
commit 3738750ba3
3 changed files with 26 additions and 4 deletions

View file

@ -933,6 +933,7 @@
}
function moveSelection(x, y, z, abs) {
setViewMode(VIEWS.ARRANGE);
forSelectedGroups(function (w) {
w.move(x, y, z, abs);
});
@ -942,6 +943,7 @@
}
function scaleSelection() {
setViewMode(VIEWS.ARRANGE);
let args = arguments;
forSelectedGroups(function (w) {
w.scale(...args);
@ -958,6 +960,7 @@
}
function rotateSelection(x, y, z) {
setViewMode(VIEWS.ARRANGE);
forSelectedGroups(function (w) {
w.rotate(x, y, z);
});