Skip to content
Permalink
Browse files

FIXED ALL issues regarding elevationDatasourceChanges and globeClosed…

… signals
  • Loading branch information
mbernasocchi authored and pka committed Dec 10, 2010
1 parent 8f40cd8 commit ecbd2da676c4825ffb54405c1ae3783ac5a4b6be
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/plugins/globe/globe_plugin.cpp
@@ -132,6 +132,7 @@ void GlobePlugin::run()
osgViewer::Viewer viewer;
#endif

mIsGlobeRunning = true;
setupProxy();

// install the programmable manipulator.
@@ -165,7 +166,6 @@ void GlobePlugin::run()
viewer.run();
#endif

mIsGlobeRunning = true;
}

void GlobePlugin::settings()
@@ -607,8 +607,8 @@ typedef std::list< osg::ref_ptr<VersionedTile> > TileList;

void GlobePlugin::layersChanged()
{
QgsDebugMsg( "layersChanged" );
if ( mIsGlobeRunning ){
QgsDebugMsg( "layersChanged: Globe Running, executing" );
osg::ref_ptr<Map> map = mMapNode->getMap();

if( map->getImageMapLayers().size() > 1 || map->getHeightFieldMapLayers().size() > 1)
@@ -679,7 +679,7 @@ void GlobePlugin::layersChanged()
}
else
{
QgsDebugMsg( "EXITING layersChanged, globe not running" );
QgsDebugMsg( "layersChanged: Globe NOT running, skipping" );
return;
}
}

0 comments on commit ecbd2da

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