Remove aiCreateAndRegisterDefaultMaterial, it's completely wrong

This commit is contained in:
Turo Lamminen
2018-09-10 16:41:12 +03:00
parent a7c13eef2c
commit c3d8464a37
6 changed files with 3 additions and 56 deletions

View File

@@ -272,8 +272,6 @@ void aiReleaseImport( const aiScene* pScene)
ASSIMP_BEGIN_EXCEPTION_REGION();
aiReleaseDefaultMaterial();
// find the importer associated with this data
const ScenePrivateData* priv = ScenePriv(pScene);
if( !priv || !priv->mOrigImporter) {