Commit 8a96f7f3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Missing updateGL which could cause picking buffers to be still valid, although the view has changed

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13600 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 47684a44
......@@ -1172,6 +1172,8 @@ void glViewer::translate(const ACG::Vec3d& _trans)
makeCurrent();
glstate_->translate(_trans[0], _trans[1], _trans[2], ACG::MULT_FROM_LEFT);
updateGL();
emit viewChanged();
}
......@@ -1199,6 +1201,8 @@ void glViewer::rotate(const ACG::Vec3d& _axis,
glstate_->rotate(_angle, _axis[0], _axis[1], _axis[2], ACG::MULT_FROM_LEFT);
glstate_->translate( t[0], t[1], t[2], ACG::MULT_FROM_LEFT);
updateGL();
emit viewChanged();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment