mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-14 08:16:03 +02:00
Fix ShapeEntityItem::getRotateForPicking()
It declared a variable it didn't use, and instead used the unlocked version.
This commit is contained in:
parent
bce22a35f0
commit
aa0f8a8304
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue