Commit ee2a3fa0 authored by Ellen Dekkers's avatar Ellen Dekkers
Browse files

Bugfix for sphere picking sphere

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12299 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 305f45ef
......@@ -1356,6 +1356,7 @@ void SelectionBasePlugin::slotSphereSelection(QMouseEvent* _event) {
sphere_node_->show();
sphere_node_->set_position(hit_point);
sphere_node_->set_size(sphere_radius_);
sphere_node_->enablePicking(false);
if( (_event->buttons() & Qt::LeftButton) //left button
||( (_event->buttons() == Qt::NoButton) && (_event->type() == QEvent::MouseButtonRelease)) // or release of left button
......
Supports Markdown
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