ObjParser: remove deprecated code.

This commit is contained in:
Kim Kulling
2016-11-10 21:39:32 +01:00
parent 604b4e9723
commit c5d6ac2c30
3 changed files with 22 additions and 64 deletions

View File

@@ -386,10 +386,9 @@ static const unsigned int DefaultNumAllocated = 5;
// ------------------------------------------------------------------------------------------------
// Construction. Actually the one and only way to get an aiMaterial instance
aiMaterial::aiMaterial()
: mNumProperties( 0 )
, mNumAllocated( DefaultNumAllocated )
, mProperties( NULL )
{
: mProperties( NULL )
, mNumProperties( 0 )
, mNumAllocated( DefaultNumAllocated ) {
// Allocate 5 entries by default
mProperties = new aiMaterialProperty*[ DefaultNumAllocated ];
}