diff options
author | Benoit Bolsee <benoit.bolsee@online.be> | 2008-06-24 00:29:32 +0400 |
---|---|---|
committer | Benoit Bolsee <benoit.bolsee@online.be> | 2008-06-24 00:29:32 +0400 |
commit | 10c57fd86e0d42fe5e9f1928598e4642aa778e89 (patch) | |
tree | e7fc8887a74fb11ea3f69e1601a258d23e85fce7 /source/blender | |
parent | 67c0b32375c9c2f9838cf110975d7fce9d783daa (diff) |
BGE bug fix: action constraints were not correctly copied from Blender to BGE local copy, only the first one was copied
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index 05f2e69fce1..5b96bf11056 100644 --- a/source/blender/blenkernel/intern/action.c +++ b/source/blender/blenkernel/intern/action.c @@ -350,7 +350,7 @@ static void copy_pose_channel_data(bPoseChannel *pchan, const bPoseChannel *chan pchan->flag= chan->flag; con= chan->constraints.first; - for(pcon= pchan->constraints.first; pcon; pcon= pcon->next) { + for(pcon= pchan->constraints.first; pcon; pcon= pcon->next, con= con->next) { pcon->enforce= con->enforce; pcon->headtail= con->headtail; } |