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:
authorJoshua Leung <aligorith@gmail.com>2008-01-23 02:24:55 +0300
committerJoshua Leung <aligorith@gmail.com>2008-01-23 02:24:55 +0300
commitb398248b8e313abae0858eb85d0eefd4488d1e2d (patch)
tree945452c30373df979d68ce3c38514d37657a6b1f /source/blender/src/editaction.c
parentb2f3c6ffe23b9a070008ec7c9271a78714b35543 (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/blender/src/editaction.c')
-rw-r--r--source/blender/src/editaction.c2
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);