We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49316a commit 601c4dbCopy full SHA for 601c4db
src/plugins/globe/globe_plugin.cpp
@@ -224,6 +224,8 @@ void GlobePlugin::setupMap()
224
mElevationManager->setMaxTilesToCache( 50 );
225
226
mObjectPlacer = new osgEarthUtil::ObjectPlacer( mMapNode );
227
+
228
+ // place 3D model on point layer
229
if ( mSettingsDialog.modelLayer() && !mSettingsDialog.modelPath().isEmpty() )
230
{
231
osg::Node* model = osgDB::readNodeFile( mSettingsDialog.modelPath().toStdString() );
@@ -236,7 +238,6 @@ void GlobePlugin::setupMap()
236
238
while ( layer->nextFeature( feature ) )
237
239
240
QgsPoint point = feature.geometry()->asPoint();
- QgsDebugMsg( "placeNode" + point.toString() );
241
placeNode( model, point.y(), point.x() );
242
}
243
0 commit comments