diff --git a/source/blender/editors/animation/anim_motion_paths.cc b/source/blender/editors/animation/anim_motion_paths.cc index a6659b68e89..26248635195 100644 --- a/source/blender/editors/animation/anim_motion_paths.cc +++ b/source/blender/editors/animation/anim_motion_paths.cc @@ -459,8 +459,8 @@ void animviz_calc_motionpaths(Depsgraph *depsgraph, mpt->keylist = ED_keylist_create(); ListBase *fcurve_list = nullptr; - if (adt) { - /* get pointer to animviz settings for each target */ + if (adt && adt->action) { + /* Get pointer to animviz settings for each target. */ bAnimVizSettings *avs = animviz_target_settings_get(mpt); /* it is assumed that keyframes for bones are all grouped in a single group