mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 03:13:09 +02:00
making requested chantges
This commit is contained in:
parent
b00746c096
commit
4bbae1230d
3 changed files with 4 additions and 6 deletions
|
@ -76,8 +76,8 @@ unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) {
|
||||||
QString jointName { "" };
|
QString jointName { "" };
|
||||||
if (propMap["joint"].isValid()) {
|
if (propMap["joint"].isValid()) {
|
||||||
QString jointName = propMap["joint"].toString();
|
QString jointName = propMap["joint"].toString();
|
||||||
QString mouseJoint { "Mouse" };
|
const QString MOUSE_JOINT = "Mouse";
|
||||||
if (jointName == mouseJoint) {
|
if (jointName == MOUSE_JOINT) {
|
||||||
return PointerEvent::INVALID_POINTER_ID;
|
return PointerEvent::INVALID_POINTER_ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -154,8 +154,8 @@ unsigned int PointerScriptingInterface::createLaserPointer(const QVariant& prope
|
||||||
QString jointName { "" };
|
QString jointName { "" };
|
||||||
if (propertyMap["joint"].isValid()) {
|
if (propertyMap["joint"].isValid()) {
|
||||||
QString jointName = propertyMap["joint"].toString();
|
QString jointName = propertyMap["joint"].toString();
|
||||||
QString mouseJoint { "Mouse" };
|
const QString MOUSE_JOINT = "Mouse";
|
||||||
if (jointName == mouseJoint) {
|
if (jointName == MOUSE_JOINT) {
|
||||||
return PointerEvent::INVALID_POINTER_ID;
|
return PointerEvent::INVALID_POINTER_ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
|
|
||||||
#include "Pick.h"
|
#include "Pick.h"
|
||||||
#include "PerfStat.h"
|
|
||||||
#include "Profile.h"
|
|
||||||
|
|
||||||
typedef struct PickCacheKey {
|
typedef struct PickCacheKey {
|
||||||
PickFilter::Flags mask;
|
PickFilter::Flags mask;
|
||||||
|
|
Loading…
Reference in a new issue