mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 20:08:20 +02:00
make resquested changes
This commit is contained in:
parent
4b7e2cb331
commit
a9a53c7d64
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ PickResultPointer LaserPointer::getVisualPickResult(const PickResultPointer& pic
|
|||
rayPickResult->distance = distance;
|
||||
rayPickResult->surfaceNormal = -normalizedDirection;
|
||||
rayPickResult->pickVariant["direction"] = vec3toVariant(normalizedDirection);
|
||||
} else if (_lockEnd) {
|
||||
} else if (type != IntersectionType::NONE && _lockEnd) {
|
||||
if (type == IntersectionType::ENTITY) {
|
||||
endVec = DependencyManager::get<EntityScriptingInterface>()->getEntityTransform(rayPickResult->objectID)[3];
|
||||
} else if (type == IntersectionType::OVERLAY) {
|
||||
|
|
Loading…
Reference in a new issue