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
154154 QString jointName { "" };
155155 if (propertyMap["joint"].isValid()) {
156156 QString jointName = propertyMap["joint"].toString();
157− QString mouseJoint { "Mouse" };
158− if (jointName == mouseJoint) {
157+ const QString MOUSE_JOINT = "Mouse";
158+ if (jointName == MOUSE_JOINT) {
159159 return PointerEvent::INVALID_POINTER_ID;
160160 }
161161 }