prevent drag snap from applying to Z

This commit is contained in:
Stewart Allen 2024-07-27 12:08:49 -04:00
commit 96177c321f
3 changed files with 0 additions and 3 deletions

View file

@ -151,7 +151,6 @@ mesh.model = class MeshModel extends mesh.object {
if (snapon && snap) {
target.x = Math.round(target.x / snap) * snap;
target.y = Math.round(target.y / snap) * snap;
target.z = Math.round(target.z / snap) * snap;
}
delta = {
x: target.x - pos.x,