# Added test for old Collada import error.
This was SVN commit r6918.
This commit is contained in:
parent
6c53859af3
commit
cf17fe13ce
BIN
binaries/data/tests/collada/bogus_material_target.dae
(Stored with Git LFS)
Normal file
BIN
binaries/data/tests/collada/bogus_material_target.dae
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -225,4 +225,18 @@ public:
|
|||||||
CModelDefPtr modeldef = meshManager->GetMesh(testDAE);
|
CModelDefPtr modeldef = meshManager->GetMesh(testDAE);
|
||||||
TS_ASSERT(! modeldef);
|
TS_ASSERT(! modeldef);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// Tests based on real DAE files:
|
||||||
|
|
||||||
|
void test_load_dae_bogus_material_target()
|
||||||
|
{
|
||||||
|
copyFile("collada/bogus_material_target.dae", testDAE);
|
||||||
|
copyFile(srcSkeletonDefs, testSkeletonDefs);
|
||||||
|
|
||||||
|
CModelDefPtr modeldef = meshManager->GetMesh(testDAE);
|
||||||
|
TS_ASSERT(modeldef);
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user