Skip to content

Commit

Permalink
Debug message removed
Browse files Browse the repository at this point in the history
  • Loading branch information
pka committed Jul 5, 2011
1 parent b49316a commit 601c4db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/globe/globe_plugin.cpp
Expand Up @@ -224,6 +224,8 @@ void GlobePlugin::setupMap()
mElevationManager->setMaxTilesToCache( 50 );

mObjectPlacer = new osgEarthUtil::ObjectPlacer( mMapNode );

// place 3D model on point layer
if ( mSettingsDialog.modelLayer() && !mSettingsDialog.modelPath().isEmpty() )
{
osg::Node* model = osgDB::readNodeFile( mSettingsDialog.modelPath().toStdString() );
Expand All @@ -236,7 +238,6 @@ void GlobePlugin::setupMap()
while ( layer->nextFeature( feature ) )
{
QgsPoint point = feature.geometry()->asPoint();
QgsDebugMsg( "placeNode" + point.toString() );
placeNode( model, point.y(), point.x() );
}
}
Expand Down

0 comments on commit 601c4db

Please sign in to comment.