mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 04:44:08 +02:00
ignore Ni
This commit is contained in:
parent
a855916eb8
commit
cee6bd2700
1 changed files with 4 additions and 0 deletions
|
@ -282,6 +282,10 @@ void OBJReader::parseMaterialLibrary(QIODevice* device) {
|
|||
currentMaterial.specularTextureFilename = "";
|
||||
} else if (token == "Ns") {
|
||||
currentMaterial.shininess = tokenizer.getFloat();
|
||||
} else if (token == "Ni") {
|
||||
#ifdef WANT_DEBUG
|
||||
qCDebug(modelformat) << "OBJ Reader Ignoring material Ni " << tokenizer.getFloat();
|
||||
#endif
|
||||
} else if (token == "d") {
|
||||
currentMaterial.opacity = tokenizer.getFloat();
|
||||
} else if (token == "Tr") {
|
||||
|
|
Loading…
Reference in a new issue