diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-18 15:44:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-18 15:44:56 +0400 |
commit | 655ed9cc7f237202e8d93b47c7cb12d6fc79d8b0 (patch) | |
tree | dca6a107fbbb179a5787b651a7083f0e54f8fd00 /source/gameengine/Converter/BL_ShapeActionActuator.cpp | |
parent | b19155e76cca879724f7deae2cfd71d19f953229 (diff) |
style cleanup
Diffstat (limited to 'source/gameengine/Converter/BL_ShapeActionActuator.cpp')
-rw-r--r-- | source/gameengine/Converter/BL_ShapeActionActuator.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/Converter/BL_ShapeActionActuator.cpp b/source/gameengine/Converter/BL_ShapeActionActuator.cpp index d8b4f6aaf1c..4806ed04cc6 100644 --- a/source/gameengine/Converter/BL_ShapeActionActuator.cpp +++ b/source/gameengine/Converter/BL_ShapeActionActuator.cpp @@ -176,9 +176,9 @@ void BL_ShapeActionActuator::BlendShape(Key* key, float srcweight) dstweight = 1.0F - srcweight; - for (it=m_blendshape.begin(), kb = (KeyBlock*)key->block.first; + for (it=m_blendshape.begin(), kb = (KeyBlock *)key->block.first; kb && it != m_blendshape.end(); - kb = (KeyBlock*)kb->next, it++) + kb = (KeyBlock *)kb->next, it++) { kb->curval = kb->curval * dstweight + (*it) * srcweight; } @@ -439,7 +439,7 @@ bool BL_ShapeActionActuator::Update(double curtime, bool frame) KeyBlock *kb; // We go through and clear out the keyblocks so there isn't any interference // from other shape actions - for (kb=(KeyBlock*)key->block.first; kb; kb=(KeyBlock*)kb->next) + for (kb=(KeyBlock *)key->block.first; kb; kb=(KeyBlock *)kb->next) kb->curval = 0.f; animsys_evaluate_action(m_idptr, m_action, NULL, m_localtime); |