diff --git a/src/3d/mesh/qgsmeshterraingenerator.h b/src/3d/mesh/qgsmeshterraingenerator.h index dca5f8b42bbe..b949422037db 100644 --- a/src/3d/mesh/qgsmeshterraingenerator.h +++ b/src/3d/mesh/qgsmeshterraingenerator.h @@ -67,7 +67,7 @@ class _3D_EXPORT QgsMeshTerrainGenerator : public QgsTerrainGenerator void updateTriangularMesh(); private: - QPointer< QgsMeshLayer > mLayer; + QPointer mLayer; QgsCoordinateReferenceSystem mCrs; QgsCoordinateTransformContext mTransformContext; std::unique_ptr mSymbol; diff --git a/src/3d/qgs3dmapsettings.cpp b/src/3d/qgs3dmapsettings.cpp index 9b98ef8bacc7..a27528a6cf49 100644 --- a/src/3d/qgs3dmapsettings.cpp +++ b/src/3d/qgs3dmapsettings.cpp @@ -442,7 +442,7 @@ void Qgs3DMapSettings::resolveReferences( const QgsProject &project ) { mTerrainSettings->resolveReferences( &project ); - std::unique_ptr< QgsTerrainGenerator > terrainGenerator = mTerrainSettings->createTerrainGenerator( Qgs3DRenderContext::fromMapSettings( this ) ); + std::unique_ptr terrainGenerator = mTerrainSettings->createTerrainGenerator( Qgs3DRenderContext::fromMapSettings( this ) ); if ( terrainGenerator ) { setTerrainGenerator( terrainGenerator.release() ); diff --git a/src/3d/terrain/qgsdemterraingenerator.h b/src/3d/terrain/qgsdemterraingenerator.h index 0e3d7ba16d90..6a76ee680995 100644 --- a/src/3d/terrain/qgsdemterraingenerator.h +++ b/src/3d/terrain/qgsdemterraingenerator.h @@ -90,7 +90,7 @@ class _3D_EXPORT QgsDemTerrainGenerator : public QgsTerrainGenerator QgsCoordinateTransformContext mTransformContext; //! source layer for heights - QPointer< QgsRasterLayer > mLayer; + QPointer mLayer; //! how many vertices to place on one side of the tile int mResolution = 16; //! height of the "skirts" at the edges of tiles to hide cracks between adjacent cracks diff --git a/src/3d/terrain/qgsquantizedmeshterraingenerator.h b/src/3d/terrain/qgsquantizedmeshterraingenerator.h index 47b3baaadee7..938e0dfc2548 100644 --- a/src/3d/terrain/qgsquantizedmeshterraingenerator.h +++ b/src/3d/terrain/qgsquantizedmeshterraingenerator.h @@ -67,7 +67,7 @@ class _3D_EXPORT QgsQuantizedMeshTerrainGenerator : public QgsTerrainGenerator QgsTiledSceneLayer *layer() const; private: - QPointer< QgsTiledSceneLayer > mLayer; + QPointer mLayer; std::optional mMetadata; QgsCoordinateTransform mTileCrsToMapCrs; QgsTiledSceneIndex mIndex;