Commit: 59d3a17e3a378f3a4a45ca44e2106ac6763bd81b Author: Sergey Sharybin Date: Thu Nov 30 16:46:33 2017 +0100 Branches: blender2.8 https://developer.blender.org/rB59d3a17e3a378f3a4a45ca44e2106ac6763bd81b
Depsgraph: Cleanup, use enum value rather than a define =================================================================== M source/blender/depsgraph/DEG_depsgraph_query.h =================================================================== 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; _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs