[Bf-blender-cvs] [76a10464789] blender2.8: Depsgraph: Cleanup, use names for particle system tag flags

Sergey Sharybin noreply at git.blender.org
Fri Dec 15 17:24:17 CET 2017


Commit: 76a10464789839de7321dd0c17fddb26c42e9cb6
Author: Sergey Sharybin
Date:   Fri Dec 15 14:58:42 2017 +0100
Branches: blender2.8
https://developer.blender.org/rB76a10464789839de7321dd0c17fddb26c42e9cb6

Depsgraph: Cleanup, use names for particle system tag flags

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

M	source/blender/depsgraph/DEG_depsgraph.h

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

diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h
index 6bcbff4950b..3d85d523657 100644
--- a/source/blender/depsgraph/DEG_depsgraph.h
+++ b/source/blender/depsgraph/DEG_depsgraph.h
@@ -151,12 +151,16 @@ enum {
 	DEG_TAG_TIME        = (1 << 2),
 
 	/* Particle system changed. */
-	DEG_TAG_PSYSC_REDO  = (1 << 3),
+	DEG_TAG_PSYS_REDO   = (1 << 3),
 	DEG_TAG_PSYS_RESET  = (1 << 4),
 	DEG_TAG_PSYS_TYPE   = (1 << 5),
 	DEG_TAG_PSYS_CHILD  = (1 << 6),
 	DEG_TAG_PSYS_PHYS   = (1 << 7),
-	DEG_TAG_PSYS        = ((1 << 3) | (1 << 4) | (1 << 5) | (1 << 6) | (1 << 7)),
+	DEG_TAG_PSYS_ALL    = (DEG_TAG_PSYS_REDO |
+	                       DEG_TAG_PSYS_RESET |
+	                       DEG_TAG_PSYS_TYPE |
+	                       DEG_TAG_PSYS_CHILD |
+	                       DEG_TAG_PSYS_PHYS),
 
 	/* Update copy on write component without flushing down the road. */
 	DEG_TAG_COPY_ON_WRITE = (1 << 8),



More information about the Bf-blender-cvs mailing list