mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 15:09:24 +02:00
Merge pull request #9831 from sethalves/fix-3d-line-bounds
fix Line3DOverlays bound updates
This commit is contained in:
commit
3d309f57d4
2 changed files with 0 additions and 7 deletions
|
@ -258,8 +258,3 @@ QVariant Line3DOverlay::getProperty(const QString& property) {
|
||||||
Line3DOverlay* Line3DOverlay::createClone() const {
|
Line3DOverlay* Line3DOverlay::createClone() const {
|
||||||
return new Line3DOverlay(this);
|
return new Line3DOverlay(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void Line3DOverlay::locationChanged(bool tellPhysics) {
|
|
||||||
// do nothing
|
|
||||||
}
|
|
||||||
|
|
|
@ -48,8 +48,6 @@ public:
|
||||||
|
|
||||||
virtual Line3DOverlay* createClone() const override;
|
virtual Line3DOverlay* createClone() const override;
|
||||||
|
|
||||||
virtual void locationChanged(bool tellPhysics = true) override;
|
|
||||||
|
|
||||||
glm::vec3 getDirection() const { return _direction; }
|
glm::vec3 getDirection() const { return _direction; }
|
||||||
float getLength() const { return _length; }
|
float getLength() const { return _length; }
|
||||||
glm::vec3 getLocalStart() const { return getLocalPosition(); }
|
glm::vec3 getLocalStart() const { return getLocalPosition(); }
|
||||||
|
|
Loading…
Reference in a new issue