Showing the changes to interface/src/raypick/PickScriptingInterface.cpp (1 of 3 files). Show all
Unified · Split
| @@ -76,8 +76,8 @@ unsigned int PickScriptingInterface::createRayPick(const QVariant& properties) { · 75 unmodified lines | ||
| 76 | 76 | QString jointName { "" }; |
| 77 | 77 | if (propMap["joint"].isValid()) { |
| 78 | 78 | QString jointName = propMap["joint"].toString(); |
| 79 | − QString mouseJoint { "Mouse" }; | |
| 80 | − if (jointName == mouseJoint) { | |
| 79 | + const QString MOUSE_JOINT = "Mouse"; | |
| 80 | + if (jointName == MOUSE_JOINT) { | |
| 81 | 81 | return PointerEvent::INVALID_POINTER_ID; |
| 82 | 82 | } |
| 83 | 83 | } |