diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-01-23 02:24:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-01-23 02:24:55 +0300 |
commit | b398248b8e313abae0858eb85d0eefd4488d1e2d (patch) | |
tree | 945452c30373df979d68ce3c38514d37657a6b1f /source | |
parent | b2f3c6ffe23b9a070008ec7c9271a78714b35543 (diff) |
Bugfix:
Grouping ungrouped channels in the Action Editor was broken by the previous commit to prevent hidden channels from showing.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editaction.c b/source/blender/src/editaction.c index 95192e42a5d..6c9e6ce1f6f 100644 --- a/source/blender/src/editaction.c +++ b/source/blender/src/editaction.c @@ -981,7 +981,7 @@ void action_groups_group (short add_group) /* make sure not already in new-group */ if (achan->grp != agrp) { - if ((achan->grp) && (EXPANDED_AGRP(achan->grp))) { + if ((achan->grp==NULL) || (EXPANDED_AGRP(achan->grp))) { if (VISIBLE_ACHAN(achan) && SEL_ACHAN(achan)) { /* unlink from everything else */ action_groups_removeachan(act, achan); |