diff options
Diffstat (limited to 'source/blender/blenkernel/intern/anim_visualization.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim_visualization.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/anim_visualization.c b/source/blender/blenkernel/intern/anim_visualization.c index 04dbe4102cc..a6f63c2ba95 100644 --- a/source/blender/blenkernel/intern/anim_visualization.c +++ b/source/blender/blenkernel/intern/anim_visualization.c @@ -184,10 +184,8 @@ bMotionPath *animviz_verify_motionpaths(ReportList *reports, /* return/use this as it is already valid length */ return mpath; } - else { - /* clear the existing path (as the range has changed), and reallocate below */ - animviz_free_motionpath_cache(mpath); - } + /* clear the existing path (as the range has changed), and reallocate below */ + animviz_free_motionpath_cache(mpath); } } else { |