History

making requested chantges

danteruiz committed 7 years ago

Commit 4bbae121 parent b00746c3 files · +4 −6Browse files

Showing the changes to interface/src/raypick/PointerScriptingInterface.cpp (1 of 3 files). Show all

Unified · Split

interface/src/raypick/PointerScriptingInterface.cpp+2−2
@@ -154,8 +154,8 @@ unsigned int PointerScriptingInterface::createLaserPointer(const QVariant& prope · 153 unmodified lines
154 QString jointName { "" };154 QString jointName { "" };
155 if (propertyMap["joint"].isValid()) {155 if (propertyMap["joint"].isValid()) {
156 QString jointName = propertyMap["joint"].toString();156 QString jointName = propertyMap["joint"].toString();
157 QString mouseJoint { "Mouse" };157 const QString MOUSE_JOINT = "Mouse";
158 if (jointName == mouseJoint) {158 if (jointName == MOUSE_JOINT) {
159 return PointerEvent::INVALID_POINTER_ID;159 return PointerEvent::INVALID_POINTER_ID;
160 }160 }
161 }161 }