aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Turvey <mwturvey@users.noreply.github.com>2017-04-30 22:23:17 -0700
committerGitHub <noreply@github.com>2017-04-30 22:23:17 -0700
commit9fa8d49071b86ce64ea330d3d28b1ea8bcf4c4be (patch)
treed25775c7afcf0e34674858aec9352a9b73e5d9ef
parent4fcff4d62c1b32911d64ee305c16f26ff0dc218d (diff)
parent3560f3c7e397c0dd2bcadaeb028b8a9fdcb17096 (diff)
downloadlibsurvive-9fa8d49071b86ce64ea330d3d28b1ea8bcf4c4be.tar.gz
libsurvive-9fa8d49071b86ce64ea330d3d28b1ea8bcf4c4be.tar.bz2
Merge pull request #62 from cnlohr/MinimizePoserCalls
Reduce Poser Calls
-rw-r--r--src/poser_turveytori.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poser_turveytori.c b/src/poser_turveytori.c
index c526161..7abf5d0 100644
--- a/src/poser_turveytori.c
+++ b/src/poser_turveytori.c
@@ -1520,7 +1520,7 @@ int PoserTurveyTori( SurviveObject * so, PoserData * poserData )
counter++;
// let's just do this occasionally for now...
- //if (counter % 1 == 0)
+ if (counter % 4 == 0)
QuickPose(so, 0);
}
// axis changed, time to increment the circular buffer index.