From cc9372b7e0f848405e37d51587916c4ec7f636a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 10 Dec 2013 12:59:04 +1100 Subject: DNA Deprecation: add DNA_DEPRECATED_GCC_POISON for enum/structs. also fully remove freestyle raycasting_algorithm --- source/blender/makesdna/DNA_mesh_types.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_mesh_types.h') diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 7cdb79232a9..b942197e52c 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -140,6 +140,10 @@ typedef struct TFace { short mode, tile, unwrap; } TFace; +#if (DNA_DEPRECATED_GCC_POISON == 1) +#pragma GCC poison TFace +#endif + /* **************** MESH ********************* */ /* texflag */ @@ -164,7 +168,7 @@ typedef struct TFace { /* me->flag */ /* #define ME_ISDONE 1 */ -#define ME_DEPRECATED 2 +/* #define ME_DEPRECATED 2 */ #define ME_TWOSIDED 4 #define ME_UVEFFECT 8 #define ME_VCOLEFFECT 16 -- cgit v1.2.3