diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-05-08 13:35:38 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-05-08 13:35:52 +0300 |
commit | 3bbb4020e7f0fae80a5edd31e19b7fa97d2149e4 (patch) | |
tree | d4d3b3d1a5d07bc6a2e5947972668ec4cbf58041 /source/blender/editors/space_view3d | |
parent | 900fc43bb4f366764f3a3b04929829ad7abf15ae (diff) |
Motionpaths: Use scene range option, takes start/end frame and preview
settings into account.
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r-- | source/blender/editors/space_view3d/drawanimviz.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawanimviz.c b/source/blender/editors/space_view3d/drawanimviz.c index d753ad68fcc..aa06f5ec716 100644 --- a/source/blender/editors/space_view3d/drawanimviz.c +++ b/source/blender/editors/space_view3d/drawanimviz.c @@ -95,6 +95,10 @@ void draw_motion_path_instance(Scene *scene, sfra = CFRA - avs->path_bc; efra = CFRA + avs->path_ac; } + else if (avs->path_type == MOTIONPATH_TYPE_SCENE_RANGE) { + sfra = PSFRA; + efra = PEFRA; + } else { /* Use the current display range */ sfra = avs->path_sf; |