Skip to content
Permalink
Browse files

[Globe] Remove qgis layer explicitly when resetting globe to stop all…

… rendering
  • Loading branch information
manisandro committed Jun 23, 2016
1 parent 4b6d38c commit c131ee2277fad809064475902d3cfd1e3fc0259b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/plugins/globe/globe_plugin.cpp
@@ -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;

0 comments on commit c131ee2

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