Skip to content

Commit

Permalink
Increase point cloud 3d rendering tolerance test a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Dec 18, 2023
1 parent fa49d14 commit 8952595
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/3d/testqgspointcloud3drendering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void TestQgsPointCloud3DRendering::testPointCloudSingleColor()
// find a better fix in the future.
QImage img = Qgs3DUtils::captureSceneImage( engine, scene );

QGSVERIFYIMAGECHECK( "pointcloud_3d_singlecolor", "pointcloud_3d_singlecolor", img, QString(), 40, QSize( 0, 0 ), 15 );
QGSVERIFYIMAGECHECK( "pointcloud_3d_singlecolor", "pointcloud_3d_singlecolor", img, QString(), 80, QSize( 0, 0 ), 15 );
}


Expand Down Expand Up @@ -309,7 +309,7 @@ void TestQgsPointCloud3DRendering::testPointCloudAttributeByRamp()
// find a better fix in the future.
QImage img = Qgs3DUtils::captureSceneImage( engine, scene );

QGSVERIFYIMAGECHECK( "pointcloud_3d_colorramp", "pointcloud_3d_colorramp", img, QString(), 40, QSize( 0, 0 ), 15 );
QGSVERIFYIMAGECHECK( "pointcloud_3d_colorramp", "pointcloud_3d_colorramp", img, QString(), 80, QSize( 0, 0 ), 15 );
}

void TestQgsPointCloud3DRendering::testPointCloudClassification()
Expand Down Expand Up @@ -346,7 +346,7 @@ void TestQgsPointCloud3DRendering::testPointCloudClassification()
// find a better fix in the future.
QImage img = Qgs3DUtils::captureSceneImage( engine, scene );

QGSVERIFYIMAGECHECK( "pointcloud_3d_classification", "pointcloud_3d_classification", img, QString(), 40, QSize( 0, 0 ), 15 );
QGSVERIFYIMAGECHECK( "pointcloud_3d_classification", "pointcloud_3d_classification", img, QString(), 80, QSize( 0, 0 ), 15 );
}

void TestQgsPointCloud3DRendering::testPointCloudClassificationOverridePointSizes()
Expand Down

0 comments on commit 8952595

Please sign in to comment.