Skip to content

Commit

Permalink
Test logging SlimeVR#3
Browse files Browse the repository at this point in the history
  • Loading branch information
Meister1593 committed Mar 22, 2023
1 parent 2728ea6 commit 3ce5b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TrackerDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ void SlimeVRDriver::TrackerDevice::Update()

void SlimeVRDriver::TrackerDevice::PositionMessage(messages::Position &position)
{
GetDriver()->Log("Device index updating: " + this->device_index_);
if (this->device_index_ == vr::k_unTrackedDeviceIndexInvalid)
return;
GetDriver()->Log("Device index updating: " + this->device_index_);

// Setup pose for this frame
auto pose = this->last_pose_;
Expand Down

0 comments on commit 3ce5b12

Please sign in to comment.