History

quiet compiler

Seth Alves committed 11 years ago

Commit 986bc711 parent 94288571 file · +1 −1Browse files

Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+1−1
@@ -353,7 +353,7 @@ void InputController::update() { · 352 unmodified lines
353 // TODO for now the InputController is only supporting a JointTracker from a MotionTracker353 // TODO for now the InputController is only supporting a JointTracker from a MotionTracker
354 MotionTracker* motionTracker = dynamic_cast< MotionTracker*> (DeviceTracker::getDevice(_deviceTrackerId));354 MotionTracker* motionTracker = dynamic_cast< MotionTracker*> (DeviceTracker::getDevice(_deviceTrackerId));
355 if (motionTracker) {355 if (motionTracker) {
356 if (_subTrackerId < motionTracker->numJointTrackers()) {356 if ((int)_subTrackerId < motionTracker->numJointTrackers()) {
357 const MotionTracker::JointTracker* joint = motionTracker->getJointTracker(_subTrackerId);357 const MotionTracker::JointTracker* joint = motionTracker->getJointTracker(_subTrackerId);
358 358
359 if (joint->isActive()) {359 if (joint->isActive()) {