Commit 405a3a8f authored by Jan Möbius's avatar Jan Möbius
Browse files

Moved endif for polyline support disabling all lasso selection

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5273 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8ea091c6
......@@ -337,6 +337,10 @@ void SelectionPlugin::surfaceLassoSelection(QMouseEvent* _event){
}
}
#endif
/** \brief Handle Mouse move event for sphere painting selection
*
* @param _event mouse event that occurred
......@@ -423,7 +427,7 @@ void SelectionPlugin::handleLassoSelection(QMouseEvent* _event) {
if (!PluginFunctions::scenegraphPick(ACG::SceneGraph::PICK_FACE, _event->pos(),node_idx, target_idx, &hit_point))
hit_point = PluginFunctions::viewerProperties().glState().unproject(ACG::Vec3d(_event->pos().x(),y,0.5));
hit_pointf = hit_point;
lasso_points_.push_back (hit_pointf);
line_node_->clear();
......@@ -528,7 +532,5 @@ void SelectionPlugin::forEachObject(QList<QPair<unsigned int, unsigned int> > &_
}
#endif
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