mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-07-29 16:53:49 +02:00
quiet compiler
This commit is contained in:
parent
9428857194
commit
986bc71e93
1 changed files with 1 additions and 1 deletions
|
@ -353,7 +353,7 @@ void InputController::update() {
|
||||||
// TODO for now the InputController is only supporting a JointTracker from a MotionTracker
|
// TODO for now the InputController is only supporting a JointTracker from a MotionTracker
|
||||||
MotionTracker* motionTracker = dynamic_cast< MotionTracker*> (DeviceTracker::getDevice(_deviceTrackerId));
|
MotionTracker* motionTracker = dynamic_cast< MotionTracker*> (DeviceTracker::getDevice(_deviceTrackerId));
|
||||||
if (motionTracker) {
|
if (motionTracker) {
|
||||||
if (_subTrackerId < motionTracker->numJointTrackers()) {
|
if ((int)_subTrackerId < motionTracker->numJointTrackers()) {
|
||||||
const MotionTracker::JointTracker* joint = motionTracker->getJointTracker(_subTrackerId);
|
const MotionTracker::JointTracker* joint = motionTracker->getJointTracker(_subTrackerId);
|
||||||
|
|
||||||
if (joint->isActive()) {
|
if (joint->isActive()) {
|
||||||
|
|
Loading…
Reference in a new issue