diff --git a/device_KinectBasis_Basic/DeviceHandler.cpp b/device_KinectBasis_Basic/DeviceHandler.cpp index 48085ae..81f000a 100644 --- a/device_KinectBasis_Basic/DeviceHandler.cpp +++ b/device_KinectBasis_Basic/DeviceHandler.cpp @@ -55,8 +55,8 @@ void DeviceHandler::update() trackingStates[i] = ktvr::State_Tracked; } - // Mark the device as initialized - initialized = true; + // Mark that we see the user + skeletonTracked = true; } } diff --git a/device_KinectBasis_Full/DeviceHandler.cpp b/device_KinectBasis_Full/DeviceHandler.cpp index be61bcb..7f9bbaf 100644 --- a/device_KinectBasis_Full/DeviceHandler.cpp +++ b/device_KinectBasis_Full/DeviceHandler.cpp @@ -50,8 +50,8 @@ void DeviceHandler::update() trackingStates[i] = ktvr::State_Tracked; } - // Mark the device as initialized - initialized = true; + // Mark that we see the user + skeletonTracked = true; } } diff --git a/device_KinectBasis_Full_Settings/DeviceHandler.cpp b/device_KinectBasis_Full_Settings/DeviceHandler.cpp index be61bcb..7f9bbaf 100644 --- a/device_KinectBasis_Full_Settings/DeviceHandler.cpp +++ b/device_KinectBasis_Full_Settings/DeviceHandler.cpp @@ -50,8 +50,8 @@ void DeviceHandler::update() trackingStates[i] = ktvr::State_Tracked; } - // Mark the device as initialized - initialized = true; + // Mark that we see the user + skeletonTracked = true; } } diff --git a/device_KinectBasis_Simple/DeviceHandler.cpp b/device_KinectBasis_Simple/DeviceHandler.cpp index 71d68db..a6beaec 100644 --- a/device_KinectBasis_Simple/DeviceHandler.cpp +++ b/device_KinectBasis_Simple/DeviceHandler.cpp @@ -55,8 +55,8 @@ void DeviceHandler::update() trackingStates[i] = ktvr::State_Tracked; } - // Mark the device as initialized - initialized = true; + // Mark that we see the user + skeletonTracked = true; } } diff --git a/external/vendor/KinectToVR_API_Devices.h b/external/vendor/KinectToVR_API_Devices.h index f9f33ed..b979209 100644 --- a/external/vendor/KinectToVR_API_Devices.h +++ b/external/vendor/KinectToVR_API_Devices.h @@ -4,6 +4,7 @@ #include #include #include +#include #include