Skip to content
Permalink
Browse files

remove transform

  • Loading branch information
vcloarec authored and nyalldawson committed Jan 19, 2020
1 parent f00b056 commit 4a7ea580e94631f4efc2c94571515b5bc22b4091
Showing with 0 additions and 8 deletions.
  1. +0 −8 src/3d/mesh/qgsmesh3dentity_p.cpp
@@ -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()
@@ -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()

0 comments on commit 4a7ea58

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