Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-03-18 15:44:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-18 15:44:56 +0400
commit655ed9cc7f237202e8d93b47c7cb12d6fc79d8b0 (patch)
treedca6a107fbbb179a5787b651a7083f0e54f8fd00 /source/gameengine/Converter/BL_ArmatureObject.cpp
parentb19155e76cca879724f7deae2cfd71d19f953229 (diff)
style cleanup
Diffstat (limited to 'source/gameengine/Converter/BL_ArmatureObject.cpp')
-rw-r--r--source/gameengine/Converter/BL_ArmatureObject.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureObject.cpp b/source/gameengine/Converter/BL_ArmatureObject.cpp
index 395a57d753c..55d9decb333 100644
--- a/source/gameengine/Converter/BL_ArmatureObject.cpp
+++ b/source/gameengine/Converter/BL_ArmatureObject.cpp
@@ -100,14 +100,14 @@ void game_copy_pose(bPose **dst, bPose *src, int copy_constraint)
/* remap pointers */
ghash= BLI_ghash_new(BLI_ghashutil_ptrhash, BLI_ghashutil_ptrcmp, "game_copy_pose gh");
- pchan= (bPoseChannel*)src->chanbase.first;
- outpchan= (bPoseChannel*)out->chanbase.first;
+ pchan= (bPoseChannel *)src->chanbase.first;
+ outpchan= (bPoseChannel *)out->chanbase.first;
for (; pchan; pchan=pchan->next, outpchan=outpchan->next)
BLI_ghash_insert(ghash, pchan, outpchan);
- for (pchan = (bPoseChannel*)out->chanbase.first; pchan; pchan = pchan->next) {
- pchan->parent= (bPoseChannel*)BLI_ghash_lookup(ghash, pchan->parent);
- pchan->child= (bPoseChannel*)BLI_ghash_lookup(ghash, pchan->child);
+ for (pchan = (bPoseChannel *)out->chanbase.first; pchan; pchan = pchan->next) {
+ pchan->parent= (bPoseChannel *)BLI_ghash_lookup(ghash, pchan->parent);
+ pchan->child= (bPoseChannel *)BLI_ghash_lookup(ghash, pchan->child);
if (copy_constraint) {
ListBase listb;
@@ -158,8 +158,8 @@ void game_blend_poses(bPose *dst, bPose *src, float srcweight/*, short mode*/)
dstweight = 1.0F;
}
- schan= (bPoseChannel*)src->chanbase.first;
- for (dchan = (bPoseChannel*)dst->chanbase.first; dchan; dchan=(bPoseChannel*)dchan->next, schan= (bPoseChannel*)schan->next) {
+ schan= (bPoseChannel *)src->chanbase.first;
+ for (dchan = (bPoseChannel *)dst->chanbase.first; dchan; dchan=(bPoseChannel *)dchan->next, schan= (bPoseChannel *)schan->next) {
// always blend on all channels since we don't know which one has been set
/* quat interpolation done separate */
if (schan->rotmode == ROT_MODE_QUAT) {
@@ -376,7 +376,7 @@ void BL_ArmatureObject::LoadChannels()
BL_ArmatureChannel* proxy;
m_channelNumber = 0;
- for (pchan = (bPoseChannel*)m_pose->chanbase.first; pchan; pchan=(bPoseChannel*)pchan->next) {
+ for (pchan = (bPoseChannel *)m_pose->chanbase.first; pchan; pchan=(bPoseChannel *)pchan->next) {
proxy = new BL_ArmatureChannel(this, pchan);
m_poseChannels.AddBack(proxy);
m_channelNumber++;