From cf848d73e4fd0dce38d6aafda2772893259b663b Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Wed, 15 Mar 2017 16:03:36 -0700 Subject: [PATCH] don't updateClusterMatrices() in render() --- libraries/render-utils/src/MeshPartPayload.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libraries/render-utils/src/MeshPartPayload.cpp b/libraries/render-utils/src/MeshPartPayload.cpp index d4b28dbddb..41a1bb4c74 100644 --- a/libraries/render-utils/src/MeshPartPayload.cpp +++ b/libraries/render-utils/src/MeshPartPayload.cpp @@ -582,11 +582,6 @@ void ModelMeshPartPayload::render(RenderArgs* args) const { auto locations = args->_pipeline->locations; assert(locations); - // update the clusterMatrices if necessary - // TODO: we want to remove this updateClusterMatrices() call in this context - // but I recall we tried this before and broke something. - Andrew - _model->updateClusterMatrices(); - bindTransform(batch, locations, args->_renderMode); //Bind the index buffer and vertex buffer and Blend shapes if needed