mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
fix offset relative to endParent
This commit is contained in:
parent
5f570c1ba8
commit
88d6fe6a04
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ glm::vec3 Line3DOverlay::getEnd() const {
|
|||
if (_endParentID != QUuid()) {
|
||||
glm::vec3 localOffset = _direction * _length;
|
||||
bool success;
|
||||
worldEnd = localToWorld(getLocalStart() + localOffset, _endParentID, _endParentJointIndex, success);
|
||||
worldEnd = localToWorld(localOffset, _endParentID, _endParentJointIndex, success);
|
||||
return worldEnd;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue