Skip to content

Commit

Permalink
Add smooth edges parameter where it is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
NEDJIMAbelgacem committed Jul 13, 2020
1 parent f870303 commit 64821ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/3d/qgs3dsceneexporter.cpp
Expand Up @@ -196,7 +196,7 @@ bool Qgs3DSceneExporter::parseVectorLayerEntity( Qt3DCore::QEntity *entity, QgsV
}
else
{
processInstancedPointGeometry(entity, pointSymbol);
processInstancedPointGeometry( entity, pointSymbol );
return true;
}
}
Expand Down Expand Up @@ -437,7 +437,8 @@ void Qgs3DSceneExporter::processBufferedLineGeometry( QgsTessellatedPolygonGeome
object->setMaterialParameter( QString( "Ns" ), QString( "%1" ).arg( shininess ) );
}

void Qgs3DSceneExporter::processInstancedPointGeometry( Qt3DCore::QEntity *entity, const QgsPoint3DSymbol *pointSymbol ) {
void Qgs3DSceneExporter::processInstancedPointGeometry( Qt3DCore::QEntity *entity, const QgsPoint3DSymbol *pointSymbol )
{
QList<Qt3DRender::QGeometry *> geometriesList = entity->findChildren<Qt3DRender::QGeometry *>();
for ( Qt3DRender::QGeometry *geometry : geometriesList )
{
Expand Down

0 comments on commit 64821ac

Please sign in to comment.