[Bf-blender-cvs] [c274151afe4] master: Cleanup: move space types under DNA_DEPRECATED

Campbell Barton noreply at git.blender.org
Fri Aug 9 16:05:25 CEST 2019


Commit: c274151afe469355ec0a39843e0e2e527c168b47
Author: Campbell Barton
Date:   Fri Aug 9 23:57:25 2019 +1000
Branches: master
https://developer.blender.org/rBc274151afe469355ec0a39843e0e2e527c168b47

Cleanup: move space types under DNA_DEPRECATED

Prevent accidental use

===================================================================

M	source/blender/makesdna/DNA_space_types.h

===================================================================

diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 20d4f7d96e4..505042432ed 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -1628,16 +1628,20 @@ typedef enum eSpace_Type {
   SPACE_SEQ = 8,
   SPACE_TEXT = 9,
 #ifdef DNA_DEPRECATED
-  SPACE_IMASEL = 10, /* deprecated */
+  SPACE_IMASEL = 10, /* Deprecated */
   SPACE_SOUND = 11,  /* Deprecated */
 #endif
   SPACE_ACTION = 12,
   SPACE_NLA = 13,
   /* TODO: fully deprecate */
   SPACE_SCRIPT = 14, /* Deprecated */
-  SPACE_TIME = 15,   /* Deprecated */
+#ifdef DNA_DEPRECATED
+  SPACE_TIME = 15, /* Deprecated */
+#endif
   SPACE_NODE = 16,
-  SPACE_LOGIC = 17, /* deprecated */
+#ifdef DNA_DEPRECATED
+  SPACE_LOGIC = 17, /* Deprecated */
+#endif
   SPACE_CONSOLE = 18,
   SPACE_USERPREF = 19,
   SPACE_CLIP = 20,



More information about the Bf-blender-cvs mailing list