diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-17 01:42:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-17 01:49:23 +0300 |
commit | 96ebdbc90ff93f55e202997334ef3ff811f497fb (patch) | |
tree | f46426f457b80991250e98c1a580fa3b064ff336 /source/blender/makesdna/DNA_constraint_types.h | |
parent | bcd38b398ce19a1757ab1f7f51ef50df8eef8d41 (diff) |
Fix deprecated DNA define checks
Also remove dead code which checked for SPACE_TIME.
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_constraint_types.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h index d7b392d5133..0baa11c3059 100644 --- a/source/blender/makesdna/DNA_constraint_types.h +++ b/source/blender/makesdna/DNA_constraint_types.h @@ -755,7 +755,7 @@ typedef enum eCopyRotation_Flags { ROTLIKE_X_INVERT = (1 << 4), ROTLIKE_Y_INVERT = (1 << 5), ROTLIKE_Z_INVERT = (1 << 6), -#ifdef DNA_DEPRECATED +#ifdef DNA_DEPRECATED_ALLOW ROTLIKE_OFFSET = (1 << 7), #endif } eCopyRotation_Flags; @@ -976,7 +976,7 @@ typedef enum eSplineIK_Flags { CONSTRAINT_SPLINEIK_BOUND = (1 << 0), /* root of chain is not influenced by the constraint */ CONSTRAINT_SPLINEIK_NO_ROOT = (1 << 1), -#ifdef DNA_DEPRECATED +#ifdef DNA_DEPRECATED_ALLOW /* bones in the chain should not scale to fit the curve */ CONSTRAINT_SPLINEIK_SCALE_LIMITED = (1 << 2), #endif |