Add a separate test case for Blender 276 and update Box.blend to be 293
parent
44fa1ec6a7
commit
e831ecf3c2
|
@ -353,7 +353,6 @@ void BlenderImporter::ParseSubCollection(const Blender::Scene &in, aiNode *root,
|
||||||
}
|
}
|
||||||
iterator += 1;
|
iterator += 1;
|
||||||
}
|
}
|
||||||
// Worst function I've ever written
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -114,6 +114,12 @@ TEST(utBlenderImporter, importBlenderDefault271) {
|
||||||
ASSERT_NE(nullptr, scene);
|
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) {
|
TEST(utBlenderImporter, importCubeHierarchy_248) {
|
||||||
Assimp::Importer importer;
|
Assimp::Importer importer;
|
||||||
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/CubeHierarchy_248.blend", aiProcess_ValidateDataStructure);
|
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/BLEND/CubeHierarchy_248.blend", aiProcess_ValidateDataStructure);
|
||||||
|
|
Loading…
Reference in New Issue