Update utBlenderImportExport.cpp

Fix compiler warning.
pull/5345/head
Kim Kulling 2023-12-21 11:37:10 +01:00 committed by GitHub
parent 9465d01494
commit ec5cbc70db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -223,17 +223,13 @@ TEST(utBlenderImporter, importFleurOptonl) {
ASSERT_NE(nullptr, scene); ASSERT_NE(nullptr, scene);
} }
/// This test contains a default cube with subdivision surface modifier and a default cube with subdivision surface applied.
/* /// Vertices should be identical.
This test contains a default cube with subdivision surface modifier
and a default cube with subdivision surface applied.
Vertices should be identical.
*/
TEST_F(utBlenderImporterExporter, importBlendWithSubdivisionSurface) { TEST_F(utBlenderImporterExporter, importBlendWithSubdivisionSurface) {
Assimp::Importer importer; Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/subdivision_test_277.blend", aiProcess_ValidateDataStructure); const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/subdivision_test_277.blend", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene); EXPECT_NE(nullptr, scene);
EXPECT_EQ(scene->mNumMeshes, 2); EXPECT_EQ(scene->mNumMeshes, 2u);
EXPECT_EQ(scene->mMeshes[0]->mNumVertices, scene->mMeshes[1]->mNumVertices); EXPECT_EQ(scene->mMeshes[0]->mNumVertices, scene->mMeshes[1]->mNumVertices);
SpatialSort spatialSortVertices0; SpatialSort spatialSortVertices0;