Skip to content
Permalink
Browse files

assert on meshLayer

  • Loading branch information
vcloarec authored and nyalldawson committed Jun 2, 2020
1 parent 58d93ec commit 1a2e30e913b935f9f2174601d2884f996af0ceaf
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/3d/mesh/qgsmeshterraingenerator.cpp
@@ -54,8 +54,7 @@ Qt3DCore::QEntity *QgsMeshTerrainTileLoader::createEntity( Qt3DCore::QEntity *pa

QgsChunkLoader *QgsMeshTerrainGenerator::createChunkLoader( QgsChunkNode *node ) const
{
if ( !mLayer )
return nullptr;
Q_ASSERT( meshLayer() );

return new QgsMeshTerrainTileLoader( mTerrain, node, meshLayer(), symbol() );
}

0 comments on commit 1a2e30e

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