diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-10 08:58:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-10 08:58:50 +0300 |
commit | 66f1c3b882d59ea2b6600dfe9464c7c81e8c8483 (patch) | |
tree | 4a5a3c089e4acdf6f6082408a90f39767c29a778 /source/blender/makesdna/DNA_node_types.h | |
parent | 5513fdc62988ec92a0c76824b2a8d56a88c02254 (diff) |
DNA: replace GCC poison with ifdef for enums
Diffstat (limited to 'source/blender/makesdna/DNA_node_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_node_types.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index bce13921903..f17bf5af434 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -1024,15 +1024,13 @@ enum { /* subsurface */ enum { +#ifdef DNA_DEPRECATED SHD_SUBSURFACE_COMPATIBLE = 0, // Deprecated +#endif SHD_SUBSURFACE_CUBIC = 1, SHD_SUBSURFACE_GAUSSIAN = 2, }; -#if (DNA_DEPRECATED_GCC_POISON == 1) -#pragma GCC poison SHD_SUBSURFACE_COMPATIBLE -#endif - /* blur node */ #define CMP_NODE_BLUR_ASPECT_NONE 0 #define CMP_NODE_BLUR_ASPECT_Y 1 |