mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 03:13:09 +02:00
remove cruft and fix indentation
This commit is contained in:
parent
cf848d73e4
commit
d3fa28d4bc
3 changed files with 30 additions and 39 deletions
|
@ -228,15 +228,6 @@ void CauterizedModel::updateRenderItems() {
|
|||
renderTransform = modelTransform.worldTransform(Transform(cState.clusterMatrices[0]));
|
||||
}
|
||||
data.updateTransformForCauterizedMesh(renderTransform, cState.clusterBuffer);
|
||||
|
||||
/*
|
||||
// update the model transform and bounding box for this render item.
|
||||
const Model::MeshState& state = data._model->getMeshState(data._meshIndex);
|
||||
CauterizedModel* cModel = static_cast<CauterizedModel*>(data._model);
|
||||
assert(data._meshIndex < cModel->_cauterizeMeshStates.size());
|
||||
const Model::MeshState& cState = cModel->_cauterizeMeshStates.at(data._meshIndex);
|
||||
data.updateTransformForSkinnedCauterizedMesh(modelTransform, state.clusterMatrices, cState.clusterMatrices);
|
||||
*/
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -228,7 +228,7 @@ void Model::updateRenderItems() {
|
|||
}
|
||||
|
||||
// lazy update of cluster matrices used for rendering.
|
||||
// We need to update them here, so we can correctly update the bounding box.
|
||||
// We need to update them here so we can correctly update the bounding box.
|
||||
self->updateClusterMatrices();
|
||||
|
||||
render::ScenePointer scene = AbstractViewStateInterface::instance()->getMain3DScene();
|
||||
|
|
Loading…
Reference in a new issue