diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-12-05 13:52:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-12-05 13:52:14 +0300 |
commit | 8493fa986bfd01c4d7e98d8afbccbfec44f78d5b (patch) | |
tree | 77381effaf81c4ca8b452d4e7b733792a7f02915 /source/blender/src/poseobject.c | |
parent | aa39d56692f63cfd9a6d61bbf813e8c570600037 (diff) |
dont draw face dots when solidtex is enabled - added a macro to check this.
relax pose was crashing - missing a check.
Diffstat (limited to 'source/blender/src/poseobject.c')
-rw-r--r-- | source/blender/src/poseobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/poseobject.c b/source/blender/src/poseobject.c index eef84468171..fe72938b106 100644 --- a/source/blender/src/poseobject.c +++ b/source/blender/src/poseobject.c @@ -1168,7 +1168,7 @@ void pose_relax() if(pchan->bone->flag & BONE_SELECTED) { /* do we have an ipo curve? */ achan= get_action_channel(act, pchan->name); - if(achan->ipo) { + if(achan && achan->ipo) { /*calc_ipo(achan->ipo, ctime);*/ do_loc += pose_relax_icu(find_ipocurve(achan->ipo, AC_LOC_X), framef, &pchan->loc[0], NULL, NULL); do_loc += pose_relax_icu(find_ipocurve(achan->ipo, AC_LOC_Y), framef, &pchan->loc[1], NULL, NULL); |