pull/3616/head
Kim Kulling 2021-01-27 09:40:19 +01:00 committed by GitHub
parent ac0f1f2cab
commit 1e38f84c3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ Material::Material(uint64_t id, const Element& element, const Document& doc, con
// lower-case shading because Blender (for example) writes "Phong" // lower-case shading because Blender (for example) writes "Phong"
for (size_t i = 0; i < shading.length(); ++i) { for (size_t i = 0; i < shading.length(); ++i) {
shading[i] = static_cast<char>(tolower(shading[i]); shading[i] = static_cast<char>(tolower(shading[i]));
} }
std::string templateName; std::string templateName;
if(shading == "phong") { if(shading == "phong") {