Skip to content

Commit

Permalink
assert on meshLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Jun 2, 2020
1 parent 58d93ec commit 1a2e30e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/3d/mesh/qgsmeshterraingenerator.cpp
Expand Up @@ -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() );
}
Expand Down

0 comments on commit 1a2e30e

Please sign in to comment.