From 7030798d41a3afe6af9b0fb0d6ab7ddc20b52c34 Mon Sep 17 00:00:00 2001 From: HifiExperiments Date: Sun, 17 Jan 2021 22:47:26 -0800 Subject: [PATCH] cleanup --- libraries/render-utils/src/Model.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libraries/render-utils/src/Model.cpp b/libraries/render-utils/src/Model.cpp index f4267fdf39..234ae203cb 100644 --- a/libraries/render-utils/src/Model.cpp +++ b/libraries/render-utils/src/Model.cpp @@ -984,13 +984,6 @@ void Model::setBillboardMode(BillboardMode billboardMode, const render::ScenePoi return; } - bool useDualQuaternionSkinning = _useDualQuaternionSkinning; - std::unordered_map shouldInvalidatePayloadShapeKeyMap; - - for (auto& shape : _modelMeshRenderItemShapes) { - shouldInvalidatePayloadShapeKeyMap[shape.meshIndex] = shouldInvalidatePayloadShapeKey(shape.meshIndex); - } - render::Transaction transaction; for (auto item : _modelMeshRenderItemIDs) { transaction.updateItem(item, [billboardMode](ModelMeshPartPayload& data) {