diff options
author | Marius Kintel <marius@kintel.net> | 2012-05-09 17:25:47 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2012-05-09 17:25:47 (GMT) |
commit | 3217bba6cbe5203189d42c1c439c2bd3c4c8d194 (patch) | |
tree | b0ec50103ce0e5bc460ba2ed7a0baa6a0e867bbd /src | |
parent | bd714c75a8f03257271dc8cba90d22b3730775cd (diff) | |
parent | 67eb2ebe90447e966dc1e08b91c43d937c521583 (diff) |
Merge branch 'master' into value
Diffstat (limited to 'src')
-rw-r--r-- | src/glview.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glview.cc b/src/glview.cc index 12657b8..aa2e746 100644 --- a/src/glview.cc +++ b/src/glview.cc @@ -603,6 +603,9 @@ void GLView::mouseMoveEvent(QMouseEvent *event) if (event->buttons() & Qt::MiddleButton) { my = mz; mz = 0; + // actually lock the x-position + // (turns out to be easier to use than xy panning) + mx = 0; } Matrix3d aax, aay, aaz, tm3; |