mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #16374 from samcake/instancing
Instancing: removing the debug message and warning on int cast
This commit is contained in:
commit
e1db1f1de2
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