Skip to content
Permalink
Browse files

remove deprecated QBufferDataGenerator and optimize 3d mesh dataset

  • Loading branch information
vcloarec authored and wonder-sk committed Apr 1, 2021
1 parent 6ff14b5 commit 1cf2d119f9a0a2219c613c303743f9df6685c185
@@ -92,7 +92,7 @@ QgsMesh3dTerrainTileEntity::QgsMesh3dTerrainTileEntity(
void QgsMesh3dTerrainTileEntity::buildGeometry()
{
Qt3DRender::QGeometryRenderer *mesh = new Qt3DRender::QGeometryRenderer;
mesh->setGeometry( new QgsMeshTerrain3dGeometry( mTriangularMesh, mMapSettings.origin(), mSymbol.get(), mesh ) );
mesh->setGeometry( new QgsMeshTerrain3dGeometry( mTriangularMesh, mMapSettings.origin(), mSymbol.get()->verticalScale(), mesh ) );
addComponent( mesh );
}

0 comments on commit 1cf2d11

Please sign in to comment.