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:
authorCampbell Barton <ideasman42@gmail.com>2015-07-10 08:58:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-10 08:58:50 +0300
commit66f1c3b882d59ea2b6600dfe9464c7c81e8c8483 (patch)
tree4a5a3c089e4acdf6f6082408a90f39767c29a778 /source/blender/makesdna/DNA_object_types.h
parent5513fdc62988ec92a0c76824b2a8d56a88c02254 (diff)
DNA: replace GCC poison with ifdef for enums
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index a9276fb5820..60547ab522a 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -381,8 +381,10 @@ enum {
enum {
PARTYPE = (1 << 4) - 1,
PAROBJECT = 0,
- PARCURVE = 1, /* Deprecated. */
- PARKEY = 2, /* XXX Unused, deprecated? */
+#ifdef DNA_DEPRECATED
+ PARCURVE = 1,
+#endif
+ // PARKEY = 2, /* UNUSED */
PARSKEL = 4,
PARVERT1 = 5,