Skip to content
Permalink
Browse files

Cleanup debug noise in 3d

  • Loading branch information
nyalldawson committed Jul 10, 2020
1 parent bac8696 commit c2e42836cc56ec2cece503ead522f7ee9b51df09
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/3d/qgs3dmapscene.cpp
  2. +1 −1 src/3d/symbols/qgslinevertexdata_p.cpp
@@ -377,7 +377,7 @@ void Qgs3DMapScene::onFrameTriggered( float dt )
{
if ( entity->isEnabled() && entity->needsUpdate() )
{
qDebug() << "need for update";
QgsDebugMsgLevel( QStringLiteral( "need for update" ), 2 );
entity->update( _sceneState( mCameraController ) );
}
}
@@ -84,7 +84,7 @@ Qt3DRender::QGeometry *QgsLineVertexData::createGeometry( Qt3DCore::QNode *paren
#endif
indexBuffer->setData( createIndexBuffer() );

QgsDebugMsg( QString( "vertex buffer %1 MB index buffer %2 MB " ).arg( vertexBuffer->data().count() / 1024. / 1024. ).arg( indexBuffer->data().count() / 1024. / 1024. ) );
QgsDebugMsgLevel( QString( "vertex buffer %1 MB index buffer %2 MB " ).arg( vertexBuffer->data().count() / 1024. / 1024. ).arg( indexBuffer->data().count() / 1024. / 1024. ), 2 );

Qt3DRender::QAttribute *positionAttribute = new Qt3DRender::QAttribute( parent );
positionAttribute->setAttributeType( Qt3DRender::QAttribute::VertexAttribute );

0 comments on commit c2e4283

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