PLY: fixing tests

This commit is contained in:
2023-03-05 21:50:10 +02:00
parent ca4486bfa1
commit 71c366f5cc
2 changed files with 2 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ static void wm_ply_export_draw(bContext *UNUSED(C), wmOperator *op)
/**
* Return true if any property in the UI is changed.
*/
static bool wm_ply_export_check(bContext *C, wmOperator *op)
static bool wm_ply_export_check(bContext *UNUSED(C), wmOperator *op)
{
char filepath[FILE_MAX];
bool changed = false;

View File

@@ -446,10 +446,9 @@ TEST_F(ply_exporter_ply_data_test, SuzanneLoadPLYDataUV)
{
PLYExportParams params;
params.export_uv = true;
params.vertex_colors = PLY_VERTEX_COLOR_SRGB;
PlyData plyData = load_ply_data_from_blendfile("io_tests/blend_geometry/suzanne_all_data.blend",
params);
EXPECT_EQ(plyData.UV_coordinates.size(), 542);
EXPECT_EQ(plyData.UV_coordinates.size(), 541);
}
TEST_F(ply_exporter_ply_data_test, CubeLoadPLYDataUVDisabled)