diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-03-29 13:23:51 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-03-29 13:23:51 +0300 |
commit | 3ac7a415f75da6f55b70c49f8677a2598c80b09b (patch) | |
tree | 10584e28d5f389958669eaf9b6b53eb298898053 /source/blender/src/editaction.c | |
parent | 0010f33bdbd50515e1a38614016819431ff794b4 (diff) |
Minor tweaks to action-groups code, while trying to track down some bug for broken.
Diffstat (limited to 'source/blender/src/editaction.c')
-rw-r--r-- | source/blender/src/editaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 66d87ed070e..6a0d50826e9 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -950,7 +950,7 @@ static void action_groups_addachan (bAction *act, bActionGroup *agrp, bActionCha } else { BLI_insertlinkafter(&act->chanbase, chan, achan); - + agrp->channels.first= achan; agrp->channels.last= achan; @@ -1131,7 +1131,7 @@ void verify_pchan2achan_grouping (bAction *act, bPose *pose, char name[]) achan= verify_action_channel(act, name); /* check if pchan has a group */ - if ((pchan->agrp_index) && (achan->grp == NULL)) { + if ((pchan->agrp_index > 0) && (achan->grp == NULL)) { bActionGroup *agrp, *grp=NULL; /* get group to try to be like */ |