mirror of
https://github.com/overte-org/overte.git
synced 2025-06-15 19:39:16 +02:00
Merge pull request #1145 from daleglass/fix-getRotateForPicking
Fix ShapeEntityItem::getRotateForPicking()
This commit is contained in:
commit
6949c9a5cd
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ bool ShapeEntityItem::findDetailedParabolaIntersection(const glm::vec3& origin,
|
||||||
|
|
||||||
bool ShapeEntityItem::getRotateForPicking() const {
|
bool ShapeEntityItem::getRotateForPicking() const {
|
||||||
auto shape = getShape();
|
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 {
|
void ShapeEntityItem::debugDump() const {
|
||||||
|
|
Loading…
Reference in a new issue