Skip to content

Commit

Permalink
remove transform
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Jan 20, 2020
1 parent f00b056 commit 4a7ea58
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/3d/mesh/qgsmesh3dentity_p.cpp
Expand Up @@ -59,10 +59,6 @@ void QgsMesh3dEntity::buildGeometry()
mesh ) );

addComponent( mesh );

Qt3DCore::QTransform *tform = new Qt3DCore::QTransform;
tform->setTranslation( QVector3D( 0, 0, 0 ) ) ;
addComponent( tform );
}

void QgsMesh3dEntity::applyMaterial()
Expand Down Expand Up @@ -96,10 +92,6 @@ void QgsMesh3dTerrainTileEntity::buildGeometry()

mesh->setGeometry( new QgsMesh3dGeometry( mTriangularMesh, mMapSettings.origin(), mExtent, mSymbol.verticaleScale(), mesh ) );
addComponent( mesh );

Qt3DCore::QTransform *tform = new Qt3DCore::QTransform;
tform->setTranslation( QVector3D( 0, 0, 0 ) );
addComponent( tform );
}

void QgsMesh3dTerrainTileEntity::applyMaterial()
Expand Down

0 comments on commit 4a7ea58

Please sign in to comment.