diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-04-03 23:44:14 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-03 23:44:14 -0600 |
commit | c7d9d271796b20f886e2441de852498ecb25ca82 (patch) | |
tree | 5929c2793c33c80e5392982a9baaa8d5ccaca724 /src/poser_turveytori.c | |
parent | fe025b0ff6bfb440da7cec8f388fa951910a86f0 (diff) | |
parent | 6a45298c9bc34aac59cc2ebb9de2d82c7a42756e (diff) | |
download | libsurvive-c7d9d271796b20f886e2441de852498ecb25ca82.tar.gz libsurvive-c7d9d271796b20f886e2441de852498ecb25ca82.tar.bz2 |
Merge branch 'master' into imu
Diffstat (limited to 'src/poser_turveytori.c')
-rw-r--r-- | src/poser_turveytori.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/poser_turveytori.c b/src/poser_turveytori.c index 4628207..b2eed7f 100644 --- a/src/poser_turveytori.c +++ b/src/poser_turveytori.c @@ -1631,9 +1631,8 @@ static void QuickPose(SurviveObject *so, PoserData *pd, SurvivePose *additionalT SolveForLighthouse(&pose.Pos[0], &pose.Rot[0], to, so, pd, 0, additionalTx, lh, 0); //printf("P&O: [% 08.8f,% 08.8f,% 08.8f] [% 08.8f,% 08.8f,% 08.8f,% 08.8f]\n", pos[0], pos[1], pos[2], quat[0], quat[1], quat[2], quat[3]); - if (so->ctx->rawposeproc) - { - so->ctx->rawposeproc(so, lh, &pose); + if (so->ctx->poseproc) { + so->ctx->poseproc(so, lh, &pose); } if (ttDebug) printf("!\n"); |