Skip to content
Permalink
Browse files

parallel rendering enabled by default

  • Loading branch information
3nids committed Sep 5, 2016
1 parent 2fbc326 commit a3af3fc41efed50af9cf1372f8ba29a3b5391667
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/app/qgisapp.cpp
  2. +1 −1 src/app/qgsoptions.cpp
@@ -2893,7 +2893,7 @@ void QgisApp::createOverview()

mMapCanvas->setCachingEnabled( mySettings.value( "/qgis/enable_render_caching", true ).toBool() );

mMapCanvas->setParallelRenderingEnabled( mySettings.value( "/qgis/parallel_rendering", false ).toBool() );
mMapCanvas->setParallelRenderingEnabled( mySettings.value( "/qgis/parallel_rendering", true ).toBool() );

mMapCanvas->setMapUpdateInterval( mySettings.value( "/qgis/map_update_interval", 250 ).toInt() );
}
@@ -8867,7 +8867,7 @@ void QgisApp::showOptionsDialog( QWidget *parent, const QString& currentPage )

mMapCanvas->setCachingEnabled( mySettings.value( "/qgis/enable_render_caching", true ).toBool() );

mMapCanvas->setParallelRenderingEnabled( mySettings.value( "/qgis/parallel_rendering", false ).toBool() );
mMapCanvas->setParallelRenderingEnabled( mySettings.value( "/qgis/parallel_rendering", true ).toBool() );

mMapCanvas->setMapUpdateInterval( mySettings.value( "/qgis/map_update_interval", 250 ).toInt() );

@@ -565,7 +565,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl )
//Changed to default to true as of QGIS 1.7
chkAntiAliasing->setChecked( mSettings->value( "/qgis/enable_anti_aliasing", true ).toBool() );
chkUseRenderCaching->setChecked( mSettings->value( "/qgis/enable_render_caching", true ).toBool() );
chkParallelRendering->setChecked( mSettings->value( "/qgis/parallel_rendering", false ).toBool() );
chkParallelRendering->setChecked( mSettings->value( "/qgis/parallel_rendering", true ).toBool() );
spinMapUpdateInterval->setValue( mSettings->value( "/qgis/map_update_interval", 250 ).toInt() );
chkMaxThreads->setChecked( QgsApplication::maxThreads() != -1 );
spinMaxThreads->setEnabled( chkMaxThreads->isChecked() );

0 comments on commit a3af3fc

Please sign in to comment.
You can’t perform that action at this time.