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:
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r--source/blender/src/outliner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c
index 3f328a0cfb2..52c5592be38 100644
--- a/source/blender/src/outliner.c
+++ b/source/blender/src/outliner.c
@@ -1640,7 +1640,8 @@ static int tree_element_active_ipo(SpaceOops *soops, TreeElement *te, int set)
if(chan->ipo) a++;
}
deselect_actionchannels(ob->action, 0);
- select_channel(ob->action, chan, SELECT_ADD);
+ if (chan)
+ select_channel(ob->action, chan, SELECT_ADD);
allqueue(REDRAWACTION, ob->ipowin);
allqueue(REDRAWVIEW3D, ob->ipowin);
}