mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 15:22:09 +02:00
cleanup
This commit is contained in:
parent
92ea14a059
commit
7030798d41
1 changed files with 0 additions and 7 deletions
|
@ -984,13 +984,6 @@ void Model::setBillboardMode(BillboardMode billboardMode, const render::ScenePoi
|
|||
return;
|
||||
}
|
||||
|
||||
bool useDualQuaternionSkinning = _useDualQuaternionSkinning;
|
||||
std::unordered_map<int, bool> shouldInvalidatePayloadShapeKeyMap;
|
||||
|
||||
for (auto& shape : _modelMeshRenderItemShapes) {
|
||||
shouldInvalidatePayloadShapeKeyMap[shape.meshIndex] = shouldInvalidatePayloadShapeKey(shape.meshIndex);
|
||||
}
|
||||
|
||||
render::Transaction transaction;
|
||||
for (auto item : _modelMeshRenderItemIDs) {
|
||||
transaction.updateItem<ModelMeshPartPayload>(item, [billboardMode](ModelMeshPartPayload& data) {
|
||||
|
|
Loading…
Reference in a new issue