Skip to content
This repository has been archived by the owner on May 3, 2021. It is now read-only.

Commit

Permalink
Fixing incorrect tracker count in calibration mat config tool
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterSloth committed Sep 29, 2017
1 parent fed2af3 commit b829183
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/psmoveconfigtool/AppSubStage_CalibrateWithMat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,15 @@ AppSubStage_CalibrateWithMat::AppSubStage_CalibrateWithMat(
, m_sampleLocationIndex(0)
, m_bNeedMoreSamplesAtLocation(false)
{
for (int location_index = 0; location_index < k_mat_sample_location_count; ++location_index)
for (int location_index = 0; location_index < PSMOVESERVICE_MAX_TRACKER_COUNT; ++location_index)
{
m_deviceTrackerPoseStats[location_index] = new TrackerRelativePoseStatistics;
}
}

AppSubStage_CalibrateWithMat::~AppSubStage_CalibrateWithMat()
{
for (int location_index = 0; location_index < k_mat_sample_location_count; ++location_index)
for (int location_index = 0; location_index < PSMOVESERVICE_MAX_TRACKER_COUNT; ++location_index)
{
delete m_deviceTrackerPoseStats[location_index];
}
Expand Down
2 changes: 1 addition & 1 deletion src/psmoveprotocol/ProtocolVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define PSM_RELEASE_VERSION_PHASE alpha
#define PSM_RELEASE_VERSION_MINOR 8
#define PSM_RELEASE_VERSION_RELEASE 7
#define PSM_RELEASE_VERSION_HOTFIX 1
#define PSM_RELEASE_VERSION_HOTFIX 2

/// "Product.Major-Phase Minor.Release.Hotfix"
#if !defined(PSM_RELEASE_VERSION_STRING)
Expand Down

0 comments on commit b829183

Please sign in to comment.