[Bf-blender-cvs] [51c85a23caf] blender2.8: Cleanup: mark `PART_DRAW_EMITTER` of ParticleSetting drawflags as dreprecated.

Bastien Montagne noreply at git.blender.org
Thu Nov 29 16:25:36 CET 2018


Commit: 51c85a23cafdf90aa88d57faea60f6a8103d1c7a
Author: Bastien Montagne
Date:   Thu Nov 29 16:16:10 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB51c85a23cafdf90aa88d57faea60f6a8103d1c7a

Cleanup: mark `PART_DRAW_EMITTER` of ParticleSetting drawflags as dreprecated.

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

M	source/blender/makesdna/DNA_particle_types.h

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

diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h
index ebccb36a671..5d830cf3d5f 100644
--- a/source/blender/makesdna/DNA_particle_types.h
+++ b/source/blender/makesdna/DNA_particle_types.h
@@ -347,7 +347,9 @@ typedef enum eParticleDrawFlag {
 	PART_DRAW_VEL           = (1 << 0),
 	PART_DRAW_GLOBAL_OB	    = (1 << 1),
 	PART_DRAW_SIZE          = (1 << 2),
-	PART_DRAW_EMITTER       = (1 << 3), /* render emitter also */
+#ifdef DNA_DEPRECATED
+	PART_DRAW_EMITTER       = (1 << 3),  /* render emitter also */ /* DEPRECATED */
+#endif
 	PART_DRAW_HEALTH        = (1 << 4),
 	PART_ABS_PATH_TIME      = (1 << 5),
 	PART_DRAW_COUNT_GR      = (1 << 6),



More information about the Bf-blender-cvs mailing list