Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 12, 2024
1 parent 4b8f58d commit 2329996
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/3d/mesh/qgsmeshterraingenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _3D_EXPORT QgsMeshTerrainGenerator : public QgsTerrainGenerator
void updateTriangularMesh();

private:
QPointer< QgsMeshLayer > mLayer;
QPointer<QgsMeshLayer> mLayer;
QgsCoordinateReferenceSystem mCrs;
QgsCoordinateTransformContext mTransformContext;
std::unique_ptr<QgsMesh3DSymbol> mSymbol;
Expand Down
2 changes: 1 addition & 1 deletion src/3d/qgs3dmapsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<QgsTerrainGenerator> terrainGenerator = mTerrainSettings->createTerrainGenerator( Qgs3DRenderContext::fromMapSettings( this ) );
if ( terrainGenerator )
{
setTerrainGenerator( terrainGenerator.release() );
Expand Down
2 changes: 1 addition & 1 deletion src/3d/terrain/qgsdemterraingenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class _3D_EXPORT QgsDemTerrainGenerator : public QgsTerrainGenerator
QgsCoordinateTransformContext mTransformContext;

//! source layer for heights
QPointer< QgsRasterLayer > mLayer;
QPointer<QgsRasterLayer> 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
Expand Down
2 changes: 1 addition & 1 deletion src/3d/terrain/qgsquantizedmeshterraingenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class _3D_EXPORT QgsQuantizedMeshTerrainGenerator : public QgsTerrainGenerator
QgsTiledSceneLayer *layer() const;

private:
QPointer< QgsTiledSceneLayer > mLayer;
QPointer<QgsTiledSceneLayer> mLayer;
std::optional<QgsQuantizedMeshMetadata> mMetadata;
QgsCoordinateTransform mTileCrsToMapCrs;
QgsTiledSceneIndex mIndex;
Expand Down

0 comments on commit 2329996

Please sign in to comment.