Skip to content

Commit

Permalink
[Globe] Remove qgis layer explicitly when resetting globe to stop all…
Browse files Browse the repository at this point in the history
… rendering
  • Loading branch information
manisandro committed Jun 23, 2016
1 parent 4b6d38c commit c131ee2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/globe/globe_plugin.cpp
Expand Up @@ -1057,6 +1057,7 @@ void GlobePlugin::reset()
mActionToggleGlobe->blockSignals( true );
mActionToggleGlobe->setChecked( false );
mActionToggleGlobe->blockSignals( false );
mMapNode->getMap()->removeImageLayer( mQgisMapLayer ); // abort any rendering
mOsgViewer = 0;
mMapNode = 0;
mRootNode = 0;
Expand Down

0 comments on commit c131ee2

Please sign in to comment.