Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-02-06 14:05:34 +0300
committerJacques Lucke <mail@jlucke.com>2019-02-06 14:05:34 +0300
commit45478158479d3aa695de9dfafc2fe433d1ae0f51 (patch)
tree0be810545b6b18d0aa73480c465d72647258cd61 /source/blender/makesdna
parent6202bc82b858d8f6876c6c20ec62dd0a16209087 (diff)
Cleanup: Remove deprecated ghosting code
Most of this code is deprecated for many years already and does not work at all in Blender 2.8. Reviewers: brecht, aligorith Differential Revision: https://developer.blender.org/D4271
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_action_types.h35
-rw-r--r--source/blender/makesdna/DNA_armature_types.h21
2 files changed, 1 insertions, 55 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h
index 8c3e61c4aa1..a9447efb19d 100644
--- a/source/blender/makesdna/DNA_action_types.h
+++ b/source/blender/makesdna/DNA_action_types.h
@@ -105,20 +105,6 @@ typedef enum eMotionPath_Flag {
/* Animation Visualization Settings (avs) */
typedef struct bAnimVizSettings {
- /* Onion-Skinning Settings ----------------- */
- /** Start and end frames of ghost-drawing range (only used for GHOST_TYPE_RANGE). */
- int ghost_sf, ghost_ef;
- /** Number of frames befo.re/after current frame to show */
- int ghost_bc, ghost_ac;
-
- /** #eOnionSkin_Types. */
- short ghost_type;
- /** Number of frames between each ghost shown (not for GHOST_TYPE_KEYS). */
- short ghost_step;
-
- /** #eOnionSkin_Flag. */
- short ghost_flag;
-
/* General Settings ------------------------ */
/** #eAnimViz_RecalcFlags. */
short recalc;
@@ -133,6 +119,7 @@ typedef struct bAnimVizSettings {
short path_viewflag;
/** #eMotionPaths_BakeFlag. */
short path_bakeflag;
+ char pad[6];
/** Start and end frames of path-calculation range. */
int path_sf, path_ef;
@@ -147,26 +134,6 @@ typedef enum eAnimViz_RecalcFlags {
ANIMVIZ_RECALC_PATHS = (1 << 0),
} eAnimViz_RecalcFlags;
-
-/* bAnimVizSettings->ghost_type */
-typedef enum eOnionSkin_Types {
- /* no ghosts at all */
- GHOST_TYPE_NONE = 0,
- /* around current frame */
- GHOST_TYPE_ACFRA = 1,
- /* show ghosts within the specified frame range */
- GHOST_TYPE_RANGE = 2,
- /* show ghosts on keyframes within the specified range only */
- GHOST_TYPE_KEYS = 3,
-} eOnionSkin_Types;
-
-/* bAnimVizSettings->ghost_flag */
-typedef enum eOnionSkin_Flag {
- /* only show selected bones in ghosts */
- GHOST_FLAG_ONLYSEL = (1 << 0),
-} eOnionSkin_Flag;
-
-
/* bAnimVizSettings->path_type */
typedef enum eMotionPaths_Types {
/* show the paths along their entire ranges */
diff --git a/source/blender/makesdna/DNA_armature_types.h b/source/blender/makesdna/DNA_armature_types.h
index 86955f07d60..a800dd2ac78 100644
--- a/source/blender/makesdna/DNA_armature_types.h
+++ b/source/blender/makesdna/DNA_armature_types.h
@@ -129,19 +129,6 @@ typedef struct bArmature {
unsigned int layer_used;
/** For buttons to work, both variables in this order together. */
unsigned int layer, layer_protected;
-
-// XXX deprecated... old animation system (armature only viz) ---
- /** Number of frames to ghosts to show, and step between them . */
- short ghostep, ghostsize;
- /** Ghost drawing options and number of frames between points of path. */
- short ghosttype, pathsize;
- /** Start and end frames of ghost-drawing range. */
- int ghostsf, ghostef;
- /** Start and end frames of path-calculation range for all bones. */
- int pathsf, pathef;
- /** Number of frames before/after current frame of path-calculation for all bones . */
- int pathbc, pathac;
-// XXX end of deprecated code ----------------------------------
} bArmature;
/* armature->flag */
@@ -208,14 +195,6 @@ typedef enum eArmature_PathFlag {
} eArmature_PathFlag;
#endif
-/* armature->ghosttype */
-// XXX deprecated... old animation system (armature only viz)
-typedef enum eArmature_GhostType {
- ARM_GHOST_CUR = 0,
- ARM_GHOST_RANGE = 1,
- ARM_GHOST_KEYS = 2,
-} eArmature_GhostType;
-
/* bone->flag */
typedef enum eBone_Flag {
BONE_SELECTED = (1 << 0),