diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-11-30 18:46:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-12-01 13:40:50 +0300 |
commit | 59d3a17e3a378f3a4a45ca44e2106ac6763bd81b (patch) | |
tree | f508a2bce42762e0cc74b8cd6ef8ce6997ff0ad6 /source | |
parent | 27a1bd445bc157d0798a1106573d750208de9d2f (diff) |
Depsgraph: Cleanup, use enum value rather than a define
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_query.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_query.h b/source/blender/depsgraph/DEG_depsgraph_query.h index dd7d6182081..0c374668845 100644 --- a/source/blender/depsgraph/DEG_depsgraph_query.h +++ b/source/blender/depsgraph/DEG_depsgraph_query.h @@ -72,9 +72,9 @@ struct ID *DEG_get_evaluated_id(struct Depsgraph *depsgraph, struct ID *id); enum { DEG_ITER_OBJECT_FLAG_SET = (1 << 0), DEG_ITER_OBJECT_FLAG_DUPLI = (1 << 1), -}; -#define DEG_ITER_OBJECT_FLAG_ALL (DEG_ITER_OBJECT_FLAG_SET | DEG_ITER_OBJECT_FLAG_DUPLI) + DEG_ITER_OBJECT_FLAG_ALL = (DEG_ITER_OBJECT_FLAG_SET | DEG_ITER_OBJECT_FLAG_DUPLI), +}; typedef struct DEGOIterObjectData { struct Depsgraph *graph; |