Merge pull request #16374 from samcake/instancing

Instancing: removing the debug message and warning on int cast
This commit is contained in:
Sabrina Shanman 2019-10-17 16:40:40 -07:00 committed by GitHub
commit e1db1f1de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,