Merge branch 'master' into issue_3398

This commit is contained in:
Kim Kulling
2021-08-28 13:56:50 +02:00
committed by GitHub
210 changed files with 1421 additions and 1329 deletions

View File

@@ -291,7 +291,7 @@ void Discreet3DSExporter::WriteMaterials() {
ChunkWriter curChunk(writer, Discreet3DS::CHUNK_MAT_SPECULAR);
WriteColor(color);
}
if (mat.Get(AI_MATKEY_COLOR_AMBIENT, color) == AI_SUCCESS) {
ChunkWriter curChunk(writer, Discreet3DS::CHUNK_MAT_AMBIENT);
WriteColor(color);