FIX: When motion path is updated, make sure frame range is inclusive #107753

Closed
Nate Rupsis wants to merge 1 commits from nrupsis/blender:motion-path-off-by-one-bug into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

View File

@ -356,7 +356,8 @@ void animviz_motionpath_compute_range(Object *ob, Scene *scene)
/* Default to the scene (preview) range if there is no animation data to
* find selected keys in. */
avs->path_sf = PSFRA;
avs->path_ef = PEFRA;
/* Ensure range is inclusive of end frame. */
avs->path_ef = PEFRA + 1;
return;
}