Remove unused primitive reference in GLTFSerializer

This commit is contained in:
sabrina-shanman 2019-10-14 15:30:03 -07:00
parent 82247072de
commit acca22e2d6

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();