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:
authorCampbell Barton <ideasman42@gmail.com>2013-07-28 10:37:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-28 10:37:58 +0400
commitc4a50e9aeb589045b857fea878fb86faba39dd3c (patch)
tree650846ab417fc96c646da2bed9b8edd16e2a8147 /source/blender/editors/armature/pose_utils.c
parent0cb9a8311364edbc65fa207678341b88b986749d (diff)
remove unneeded NULL checks, add one for give_matarar() return value.
Diffstat (limited to 'source/blender/editors/armature/pose_utils.c')
-rw-r--r--source/blender/editors/armature/pose_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/pose_utils.c b/source/blender/editors/armature/pose_utils.c
index a5e51ccf32a..014a64170db 100644
--- a/source/blender/editors/armature/pose_utils.c
+++ b/source/blender/editors/armature/pose_utils.c
@@ -239,7 +239,7 @@ void poseAnim_mapping_autoKeyframe(bContext *C, Scene *scene, Object *ob, ListBa
* - only do this if keyframes should have been added
* - do not calculate unless there are paths already to update...
*/
- if (C && (ob->pose->avs.path_bakeflag & MOTIONPATH_BAKE_HAS_PATHS)) {
+ if (ob->pose->avs.path_bakeflag & MOTIONPATH_BAKE_HAS_PATHS) {
//ED_pose_clear_paths(C, ob); // XXX for now, don't need to clear
ED_pose_recalculate_paths(scene, ob);
}