closes https://github.com/assimp/assimp/issues/1724: add default material access to the material API.
This commit is contained in:
@@ -272,6 +272,8 @@ 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) {
|
||||
|
||||
Reference in New Issue
Block a user