Skip to content
Permalink
Browse files

Merge pull request #3458 from 3nids/parallel

parallel rendering enabled by default
  • Loading branch information
3nids committed Sep 7, 2016
2 parents 9ccbe17 + a3af3fc commit 45373d0ecb9b94674333016c1f69b47a66968102
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 45373d0

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