mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 03:53:52 +02:00
address warning
This commit is contained in:
parent
8bfd479b0f
commit
c89e682b77
1 changed files with 1 additions and 2 deletions
|
@ -899,10 +899,9 @@ HFMModel::Pointer OBJSerializer::read(const hifi::ByteArray& data, const hifi::V
|
|||
if (!objMaterial.used) {
|
||||
continue;
|
||||
}
|
||||
qCDebug(modelformat) << "OBJSerializer Material Name:" << materialID;
|
||||
|
||||
// capture the name to index map
|
||||
materialNameToIndex[materialID] = hfmModel.materials.size();
|
||||
materialNameToIndex[materialID] = (uint32_t) hfmModel.materials.size();
|
||||
|
||||
hfmModel.materials.emplace_back(objMaterial.diffuseColor,
|
||||
objMaterial.specularColor,
|
||||
|
|
Loading…
Reference in a new issue