Skip to content
Permalink
Browse files

Add smooth edges parameter where it is missing

  • Loading branch information
NEDJIMAbelgacem committed Jul 13, 2020
1 parent f870303 commit 64821ac822c21b5fb038a08fedd969ca7ba4dc86
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/3d/qgs3dsceneexporter.cpp
@@ -196,7 +196,7 @@ bool Qgs3DSceneExporter::parseVectorLayerEntity( Qt3DCore::QEntity *entity, QgsV
}
else
{
processInstancedPointGeometry(entity, pointSymbol);
processInstancedPointGeometry( entity, pointSymbol );
return true;
}
}
@@ -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 )
{

0 comments on commit 64821ac

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