Fix ShapeEntityItem::getRotateForPicking()

It declared a variable it didn't use, and instead used the unlocked version.
This commit is contained in:
Dale Glass 2021-04-02 00:24:45 +02:00
parent bce22a35f0
commit aa0f8a8304

View file

@ -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 {