mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:12:53 +02:00
Make grid overlays unpickable
This commit is contained in:
parent
b68213f9bf
commit
af791e8f72
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ public:
|
||||||
|
|
||||||
virtual Grid3DOverlay* createClone() const;
|
virtual Grid3DOverlay* createClone() const;
|
||||||
|
|
||||||
|
// Grids are UI tools, and may not be intersected (pickable)
|
||||||
|
virtual bool findRayIntersection(const glm::vec3&, const glm::vec3&, float&, BoxFace&, glm::vec3&) { return false; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void updateGrid();
|
void updateGrid();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue