Skip to content

Commit

Permalink
Let's see if this helps with blank output
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jul 26, 2018
1 parent 9ea06e1 commit db51062
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/3d/testqgs3drendering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ void TestQgs3DRendering::testFlatTerrain()
// look from the top
scene->cameraController()->setLookingAtPoint( QgsVector3D( 0, 0, 0 ), 2500, 0, 0 );
QImage img = Qgs3DUtils::captureSceneImage( engine, scene );
QTest::qSleep( 1000 );
img = Qgs3DUtils::captureSceneImage( engine, scene );
QVERIFY( renderCheck( "flat_terrain_1", img, 40 ) );

// tilted view (pitch = 60 degrees)
Expand Down

0 comments on commit db51062

Please sign in to comment.