Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2017-11-30 18:46:33 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-12-01 13:40:50 +0300
commit59d3a17e3a378f3a4a45ca44e2106ac6763bd81b (patch)
treef508a2bce42762e0cc74b8cd6ef8ce6997ff0ad6
parent27a1bd445bc157d0798a1106573d750208de9d2f (diff)
Depsgraph: Cleanup, use enum value rather than a define
-rw-r--r--source/blender/depsgraph/DEG_depsgraph_query.h4
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;