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

No direct access to glstate

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@4967 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a43491af
......@@ -388,7 +388,7 @@ void SelectionPlugin::slotMouseEvent( QMouseEvent* _event ) {
if ( PluginFunctions::pickMode() == LASSO_SELECTION) {
if ( lasso_ == 0 ) {
// create lasso For screen lasso selection
lasso_ = new ACG::QtLasso(PluginFunctions::glState());
lasso_ = new ACG::QtLasso(PluginFunctions::viewerProperties().glState());
connect(lasso_ , SIGNAL(signalLassoSelection(ACG::QtLasso::SelectionMode)),
this , SLOT(slotLassoSelection(ACG::QtLasso::SelectionMode)));
}
......
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