BGE bug fix: action constraints were not correctly copied from Blender to BGE local copy, only the first one was copied

This commit is contained in:
Benoit Bolsee 2008-06-23 20:29:32 +00:00
parent 67c0b32375
commit 10c57fd86e

@ -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;
}