add a unittest.
parent
99d82328a4
commit
1b0b4d8d1a
File diff suppressed because one or more lines are too long
|
@ -534,3 +534,9 @@ TEST_F(utglTF2ImportExport, norootnode_scenewithoutnodes) {
|
||||||
ASSERT_NE(scene, nullptr);
|
ASSERT_NE(scene, nullptr);
|
||||||
ASSERT_NE(scene->mRootNode, nullptr);
|
ASSERT_NE(scene->mRootNode, nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_F(utglTF2ImportExport, norootnode_issue_3269) {
|
||||||
|
Assimp::Importer importer;
|
||||||
|
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/glTF2/issue_3269/texcoord_crash.gltf", aiProcess_ValidateDataStructure);
|
||||||
|
ASSERT_NE(scene, nullptr);
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue