summaryrefslogtreecommitdiffhomepage
path: root/tracker-rs
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-10-07 11:44:23 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-10-07 11:44:23 +0200
commit73a03e22bbadf0bfc12174ce3859773494258e56 (patch)
tree69f70612b9161ce2c366d00f6eac61c85b00024e /tracker-rs
parent2c227c6c073c24e3b7fcad32b3ea9a0b1c23eebe (diff)
tracker/rs: fix warning on msvc 15 preview 5
Diffstat (limited to 'tracker-rs')
-rw-r--r--tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
index 6b3c5351..f159d60b 100644
--- a/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
+++ b/tracker-rs/rs_impl/ftnoir_tracker_rs_impl.cpp
@@ -173,10 +173,10 @@ int rs_tracker_impl_update_pose(double *data) {//TODO: add bool preview activate
pose = face->QueryPose();
if (pose == NULL) continue;
- poseAnglesAvailable = pose->QueryPoseAngles(&angles);
+ poseAnglesAvailable = !!pose->QueryPoseAngles(&angles);
if (!poseAnglesAvailable) continue;
- headPositionAvailable = pose->QueryHeadPosition(&headPosition);
+ headPositionAvailable = !!pose->QueryHeadPosition(&headPosition);
if (!headPositionAvailable) continue;
//TODO: use pxcI32 pose->QueryConfidence() ?