3DS: Pass default material name to Material constructor
This commit is contained in:
@@ -346,7 +346,7 @@ void Discreet3DSImporter::ParseObjectChunk()
|
||||
case Discreet3DS::CHUNK_MAT_MATERIAL:
|
||||
|
||||
// Add a new material to the list
|
||||
mScene->mMaterials.push_back(D3DS::Material());
|
||||
mScene->mMaterials.push_back(D3DS::Material(std::string("UNNAMED_" + std::to_string(mScene->mMaterials.size()))));
|
||||
ParseMaterialChunk();
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user