Skip to content

Commit db51062

Browse files
committedJul 26, 2018
Let's see if this helps with blank output
1 parent 9ea06e1 commit db51062

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎tests/src/3d/testqgs3drendering.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ void TestQgs3DRendering::testFlatTerrain()
128128
// look from the top
129129
scene->cameraController()->setLookingAtPoint( QgsVector3D( 0, 0, 0 ), 2500, 0, 0 );
130130
QImage img = Qgs3DUtils::captureSceneImage( engine, scene );
131+
QTest::qSleep( 1000 );
132+
img = Qgs3DUtils::captureSceneImage( engine, scene );
131133
QVERIFY( renderCheck( "flat_terrain_1", img, 40 ) );
132134

133135
// tilted view (pitch = 60 degrees)

0 commit comments

Comments
 (0)
Please sign in to comment.