File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,7 @@ void GlobePlugin::run()
132
132
osgViewer::Viewer viewer;
133
133
#endif
134
134
135
+ mIsGlobeRunning = true ;
135
136
setupProxy ();
136
137
137
138
// install the programmable manipulator.
@@ -165,7 +166,6 @@ void GlobePlugin::run()
165
166
viewer.run ();
166
167
#endif
167
168
168
- mIsGlobeRunning = true ;
169
169
}
170
170
171
171
void GlobePlugin::settings ()
@@ -607,8 +607,8 @@ typedef std::list< osg::ref_ptr<VersionedTile> > TileList;
607
607
608
608
void GlobePlugin::layersChanged ()
609
609
{
610
- QgsDebugMsg ( " layersChanged" );
611
610
if ( mIsGlobeRunning ){
611
+ QgsDebugMsg ( " layersChanged: Globe Running, executing" );
612
612
osg::ref_ptr<Map> map = mMapNode ->getMap ();
613
613
614
614
if ( map->getImageMapLayers ().size () > 1 || map->getHeightFieldMapLayers ().size () > 1 )
@@ -679,7 +679,7 @@ void GlobePlugin::layersChanged()
679
679
}
680
680
else
681
681
{
682
- QgsDebugMsg ( " EXITING layersChanged, globe not running" );
682
+ QgsDebugMsg ( " layersChanged: Globe NOT running, skipping " );
683
683
return ;
684
684
}
685
685
}
You can’t perform that action at this time.
0 commit comments