Commit 9db29566 authored by Jan Möbius's avatar Jan Möbius

Changed nativeMouse option

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8159 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 001b52ce
......@@ -86,7 +86,7 @@ void Core::applyOptions(){
coreWidget_->showLogger( OpenFlipper::Options::loggerState() );
// gl mouse cursor
coreWidget_->setGlCursor( OpenFlipperSettings().value("Core/Gui/glViewer/glMouse",true).toBool() );
coreWidget_->setGlCursor( OpenFlipperSettings().value("Core/Gui/glViewer/nativeMouse",false).toBool() );
// Prepare Picking Debugger Flag
ACG::SceneGraph::PickTarget target;
......
......@@ -182,7 +182,7 @@ CoreWidget( QVector<ViewMode*>& _viewModes,
// gl widget as parent to make sure that the CursorPainter will be deleted before
cursorPainter_ = new CursorPainter (glWidget_);
cursorPainter_->setForceNative (!OpenFlipperSettings().value("Core/Gui/glViewer/glMouse",true).toBool() );
cursorPainter_->setForceNative (OpenFlipperSettings().value("Core/Gui/glViewer/nativeMouse",false).toBool() );
cursorPainter_->setEnabled (stereoActive_);
glScene_->setCursorPainter (cursorPainter_);
......
......@@ -307,7 +307,7 @@ void OptionsWidget::showEvent ( QShowEvent * /*event*/ ) {
rcm8->setValue (mat[8]);
noMousePick->setChecked ( !OpenFlipperSettings().value("Core/Gui/glViewer/stereoMousePick",true).toBool() );
nativeMouse->setChecked ( !OpenFlipperSettings().value("Core/Gui/glViewer/glMouse",true).toBool() );
nativeMouse->setChecked ( OpenFlipperSettings().value("Core/Gui/glViewer/nativeMouse",false).toBool() );
// plugin options
initPluginOptions();
......@@ -612,7 +612,7 @@ void OptionsWidget::slotApply() {
OpenFlipper::Options::anaglyphRightEyeColorMatrix (mat);
OpenFlipperSettings().setValue("Core/Gui/glViewer/stereoMousePick",!noMousePick->isChecked ());
OpenFlipperSettings().setValue("Core/Gui/glViewer/glMouse",!nativeMouse->isChecked ());
OpenFlipperSettings().setValue("Core/Gui/glViewer/nativeMouse",nativeMouse->isChecked ());
// updates
OpenFlipper::Options::updateUrl( updateURL->text() );
......
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