diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-06-15 12:56:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-06-15 12:56:11 +0400 |
commit | c76bce9e6407aa9adda3bd1b1d66fe3b8d88299f (patch) | |
tree | b5cd620c0a310ced923d02b2a379ec88862d6357 /source/blender/src/drawaction.c | |
parent | 89c1875bc9a761b52f2f2041203bfcf3ef34030e (diff) |
bugfix, simple crash in drawaction
Diffstat (limited to 'source/blender/src/drawaction.c')
-rw-r--r-- | source/blender/src/drawaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawaction.c b/source/blender/src/drawaction.c index 65221dceaf9..8c4958a651a 100644 --- a/source/blender/src/drawaction.c +++ b/source/blender/src/drawaction.c @@ -730,7 +730,7 @@ void check_action_context(SpaceAction *saction) for (achan=saction->action->chanbase.first; achan; achan=achan->next) { pchan= get_pose_channel(ob->pose, achan->name); - if (pchan) { + if (pchan && pchan->bone) { if ((pchan->bone->layer & arm->layer)==0) achan->flag |= ACHAN_HIDDEN; else if (pchan->bone->flag & BONE_HIDDEN_P) |