B3DImporter: Fix double free when reusing Importer

pull/1635/head
Turo Lamminen 2017-12-12 20:03:16 +02:00
parent 824dfc314b
commit 89afe0780b
1 changed files with 1 additions and 0 deletions

View File

@ -702,6 +702,7 @@ void B3DImporter::ReadBB3D( aiScene *scene ){
//nodes
scene->mRootNode=_nodes[0];
_nodes.clear(); // node ownership now belongs to scene
//material
if( !_materials.size() ){