From aa0f8a8304bdfea99989c40718c076defd7c648b Mon Sep 17 00:00:00 2001 From: Dale Glass Date: Fri, 2 Apr 2021 00:24:45 +0200 Subject: [PATCH] Fix ShapeEntityItem::getRotateForPicking() It declared a variable it didn't use, and instead used the unlocked version. --- libraries/entities/src/ShapeEntityItem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/entities/src/ShapeEntityItem.cpp b/libraries/entities/src/ShapeEntityItem.cpp index 4349eefd2d..ceebf20123 100644 --- a/libraries/entities/src/ShapeEntityItem.cpp +++ b/libraries/entities/src/ShapeEntityItem.cpp @@ -339,7 +339,7 @@ bool ShapeEntityItem::findDetailedParabolaIntersection(const glm::vec3& origin, bool ShapeEntityItem::getRotateForPicking() const { auto shape = getShape(); - return getBillboardMode() != BillboardMode::NONE && (_shape < entity::Shape::Cube || _shape > entity::Shape::Icosahedron); + return getBillboardMode() != BillboardMode::NONE && (shape < entity::Shape::Cube || shape > entity::Shape::Icosahedron); } void ShapeEntityItem::debugDump() const {