mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
made requested changes
This commit is contained in:
parent
067ed2ffe0
commit
c9d67f762b
1 changed files with 1 additions and 2 deletions
|
@ -25,7 +25,6 @@ LaserPointer::LaserPointer(const QVariant& rayProps, const RenderStateMap& rende
|
|||
_distanceScaleEnd(distanceScaleEnd),
|
||||
_rayPickUID(DependencyManager::get<RayPickScriptingInterface>()->createRayPick(rayProps))
|
||||
{
|
||||
_offsetMat = glm::mat4();
|
||||
|
||||
for (auto& state : _renderStates) {
|
||||
if (!enabled || state.first != _currentRenderState) {
|
||||
|
@ -238,7 +237,7 @@ void LaserPointer::setLaserLength(const float laserLength) {
|
|||
void LaserPointer::setLockEndUUID(QUuid objectID, const bool isOverlay, const glm::mat4& offsetMat) {
|
||||
withWriteLock([&] {
|
||||
_lockEndObject.id = objectID;
|
||||
_lockEndObject.isOverlay;
|
||||
_lockEndObject.isOverlay = isOverlay;
|
||||
_lockEndObject.offsetMat = offsetMat;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue