mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 09:22:42 +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 { "" };
|
||||
if (propMap["joint"].isValid()) {
|
||||
QString jointName = propMap["joint"].toString();
|
||||
QString mouseJoint { "Mouse" };
|
||||
if (jointName == mouseJoint) {
|
||||
const QString MOUSE_JOINT = "Mouse";
|
||||
if (jointName == MOUSE_JOINT) {
|
||||
return PointerEvent::INVALID_POINTER_ID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,8 +154,8 @@ unsigned int PointerScriptingInterface::createLaserPointer(const QVariant& prope
|
|||
QString jointName { "" };
|
||||
if (propertyMap["joint"].isValid()) {
|
||||
QString jointName = propertyMap["joint"].toString();
|
||||
QString mouseJoint { "Mouse" };
|
||||
if (jointName == mouseJoint) {
|
||||
const QString MOUSE_JOINT = "Mouse";
|
||||
if (jointName == MOUSE_JOINT) {
|
||||
return PointerEvent::INVALID_POINTER_ID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
#include <unordered_map>
|
||||
|
||||
#include "Pick.h"
|
||||
#include "PerfStat.h"
|
||||
#include "Profile.h"
|
||||
|
||||
typedef struct PickCacheKey {
|
||||
PickFilter::Flags mask;
|
||||
|
|
Loading…
Reference in a new issue