Skip to content

Commit

Permalink
Fix billboard test
Browse files Browse the repository at this point in the history
The test got affected by #33823 so we just side step it by moving
away from using also point at location 0,0
  • Loading branch information
wonder-sk committed Jan 15, 2020
1 parent 8f26209 commit c868768
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/3d/testqgs3drendering.cpp
Expand Up @@ -518,13 +518,13 @@ void TestQgs3DRendering::testAnimationExport()

void TestQgs3DRendering::testBillboardRendering()
{
QgsRectangle fullExtent( 0, 0, 1000, 1000 );
QgsRectangle fullExtent( 1000, 1000, 2000, 2000 );

std::unique_ptr<QgsVectorLayer> layerPointsZ( new QgsVectorLayer( "PointZ?crs=EPSG:27700", "points Z", "memory" ) );

QgsPoint *p1 = new QgsPoint( 0, 0, 50 );
QgsPoint *p2 = new QgsPoint( 0, 1000, 100 );
QgsPoint *p3 = new QgsPoint( 1000, 1000, 200 );
QgsPoint *p1 = new QgsPoint( 1000, 1000, 50 );
QgsPoint *p2 = new QgsPoint( 1000, 2000, 100 );
QgsPoint *p3 = new QgsPoint( 2000, 2000, 200 );

QgsFeature f1( layerPointsZ->fields() );
QgsFeature f2( layerPointsZ->fields() );
Expand Down

0 comments on commit c868768

Please sign in to comment.