Skip to content
Permalink
Browse files

Let's see if this helps with blank output

  • Loading branch information
wonder-sk committed Jul 25, 2018
1 parent 9ea06e1 commit db5106253ecf116a4203264fc33e7f85fe742c92
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/3d/testqgs3drendering.cpp
@@ -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)

0 comments on commit db51062

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