Merge pull request #1145 from daleglass/fix-getRotateForPicking

Fix ShapeEntityItem::getRotateForPicking()
This commit is contained in:
Kalila 2021-04-02 16:24:19 -04:00 committed by GitHub
commit 6949c9a5cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {