Merge branch 'instancing_gtlf_wip' into instancing_gltf

This commit is contained in:
sabrina-shanman 2019-10-16 13:40:23 -07:00
commit 5df4092f67

View file

@ -1520,7 +1520,6 @@ bool GLTFSerializer::buildGeometry(HFMModel& hfmModel, const hifi::VariantHash&
const auto& templateShapePerPrim = templateShapePerPrimPerGLTFMesh[node.mesh];
int primCount = (int)gltfMesh.primitives.size();
for (int primIndex = 0; primIndex < primCount; ++primIndex) {
const auto& primitive = gltfMesh.primitives[primIndex];
const auto& templateShape = templateShapePerPrim[primIndex];
hfmModel.shapes.push_back(templateShape);
auto& hfmShape = hfmModel.shapes.back();