restore updateClusterMatrices() in render()

This commit is contained in:
Andrew Meadows 2017-01-11 17:33:30 -08:00
parent e2130d33d9
commit c060fd6a68

View file

@ -584,6 +584,7 @@ void ModelMeshPartPayload::render(RenderArgs* args) const {
// Bind the model transform and the skinCLusterMatrices if needed
bool canCauterize = args->_renderMode != RenderArgs::SHADOW_RENDER_MODE;
_model->updateClusterMatrices();
bindTransform(batch, locations, canCauterize);
//Bind the index buffer and vertex buffer and Blend shapes if needed