Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -71,6 +71,18 @@ PickFilter getPickFilter(unsigned int filter) { · 70 unmodified lines | ||
| 71 | 71 | unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) { |
| 72 | 72 | QVariantMap propMap = properties.toMap(); |
| 73 | 73 | |
| 74 | + | |
| 75 | +#if defined (Q_OS_ANDROID) | |
| 76 | + QString jointName { "" }; | |
| 77 | + if (propMap["joint"].isValid()) { | |
| 78 | + QString jointName = propMap["joint"].toString(); | |
| 79 | + QString mouseJoint { "Mouse" }; | |
| 80 | + if (jointName == mouseJoint) { | |
| 81 | + return PointerEvent::INVALID_POINTER_ID; | |
| 82 | + } | |
| 83 | + } | |
| 84 | +#endif | |
| 85 | + | |
| 74 | 86 | bool enabled = false; |
| 75 | 87 | if (propMap["enabled"].isValid()) { |
| 76 | 88 | enabled = propMap["enabled"].toBool(); |