diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-05-08 18:13:39 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-05-08 18:16:59 +0300 |
commit | 4c79608b3bd89004ea0784c112098cdfb91bee2a (patch) | |
tree | bdbd12baaa60a5d46a7b20c0f8f40d45944a22d8 /source | |
parent | 3bbb4020e7f0fae80a5edd31e19b7fa97d2149e4 (diff) |
Revert "Motionpaths: Use scene range option, takes start/end frame and
preview"
Looks like this does not work for animators here after all, will use a
different code for this (probably not hardcoded)
This reverts commit 3bbb4020e7f0fae80a5edd31e19b7fa97d2149e4.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_view3d/drawanimviz.c | 4 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 1 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_animviz.c | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/drawanimviz.c b/source/blender/editors/space_view3d/drawanimviz.c index aa06f5ec716..d753ad68fcc 100644 --- a/source/blender/editors/space_view3d/drawanimviz.c +++ b/source/blender/editors/space_view3d/drawanimviz.c @@ -95,10 +95,6 @@ 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; diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index bc30c7f9fb2..761e76eb249 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -148,7 +148,6 @@ typedef enum eMotionPaths_Types { MOTIONPATH_TYPE_RANGE = 0, /* only show the parts of the paths around the current frame */ MOTIONPATH_TYPE_ACFRA = 1, - MOTIONPATH_TYPE_SCENE_RANGE = 2, } eMotionPath_Types; /* bAnimVizSettings->path_viewflag */ diff --git a/source/blender/makesrna/intern/rna_animviz.c b/source/blender/makesrna/intern/rna_animviz.c index f156f616196..719eb9f8a20 100644 --- a/source/blender/makesrna/intern/rna_animviz.c +++ b/source/blender/makesrna/intern/rna_animviz.c @@ -252,7 +252,6 @@ static void rna_def_animviz_paths(BlenderRNA *brna) {MOTIONPATH_TYPE_ACFRA, "CURRENT_FRAME", 0, "Around Frame", "Display Paths of poses within a fixed number of frames around the current frame"}, {MOTIONPATH_TYPE_RANGE, "RANGE", 0, "In Range", "Display Paths of poses within specified range"}, - {MOTIONPATH_TYPE_SCENE_RANGE, "SCENE", 0, "Scene Range", "Display Paths based on scene start/end frames (preview setting taken into account)"}, {0, NULL, 0, NULL, NULL} }; |