Add a separate test case for Blender 276 and update Box.blend to be 293

pull/4193/head
Pencil Amazing 2021-11-19 09:11:17 -04:00
parent 44fa1ec6a7
commit e831ecf3c2
5 changed files with 6 additions and 1 deletions

View File

@ -353,7 +353,6 @@ void BlenderImporter::ParseSubCollection(const Blender::Scene &in, aiNode *root,
}
iterator += 1;
}
// Worst function I've ever written
}
// ------------------------------------------------------------------------------------------------

Binary file not shown.

Binary file not shown.

View File

@ -114,6 +114,12 @@ TEST(utBlenderImporter, importBlenderDefault271) {
ASSERT_NE(nullptr, scene);
}
TEST(utBlenderImporter, importBlenderDefault293) {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/BlenderDefault_276.blend", aiProcess_ValidateDataStructure);
ASSERT_NE(nullptr, scene);
}
TEST(utBlenderImporter, importCubeHierarchy_248) {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/CubeHierarchy_248.blend", aiProcess_ValidateDataStructure);