Skip to content

Commit

Permalink
Use wider elevation range for 2D rendering
Browse files Browse the repository at this point in the history
... because not everything is within +/- 1000 m of elevation :-)
  • Loading branch information
wonder-sk authored and nyalldawson committed Aug 31, 2023
1 parent 4c88554 commit a2058c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/tiledscene/qgstiledscenelayerrenderer.cpp
Expand Up @@ -130,7 +130,7 @@ QgsTiledSceneRequest QgsTiledSceneLayerRenderer::createBaseRequest()
request.setFeedback( feedback() );

// TODO what z range makes sense here??
const QVector< QgsVector3D > corners = QgsBox3D( mapExtent, -1000, 1000 ).corners();
const QVector< QgsVector3D > corners = QgsBox3D( mapExtent, -10000, 10000 ).corners();
QVector< double > x;
x.reserve( 8 );
QVector< double > y;
Expand Down

0 comments on commit a2058c7

Please sign in to comment.