diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-01 11:00:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-01 11:01:53 +0300 |
commit | 7aed2de798b1e5f8663e8fe608a99f6c9f53c382 (patch) | |
tree | 1f811fd3d80e3cce969db7e317b5629e54cbe5ce /source/blender/depsgraph/DEG_depsgraph_query.h | |
parent | 1fc5eb305a2bd61ed465db376cec73a3822c0bf6 (diff) |
Cleanup: macro's w/ an _END need a matching _BEGIN
Convention from 2.7x, since some looping macros don't need an '_END',
it avoids confusion to keep this.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph_query.h')
-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 fffdccf3efc..1571e9edf73 100644 --- a/source/blender/depsgraph/DEG_depsgraph_query.h +++ b/source/blender/depsgraph/DEG_depsgraph_query.h @@ -124,7 +124,7 @@ void DEG_iterator_objects_end(struct BLI_Iterator *iter); * Although they are available they have no overrides (collection_properties) * and will crash if you try to access it. */ -#define DEG_OBJECT_ITER(graph_, instance_, mode_, flag_) \ +#define DEG_OBJECT_ITER_BEGIN(graph_, instance_, mode_, flag_) \ { \ DEGObjectIterData data_ = { \ .graph = (graph_), \ @@ -145,7 +145,7 @@ void DEG_iterator_objects_end(struct BLI_Iterator *iter); * Depsgraph objects iterator for draw manager and final render */ #define DEG_OBJECT_ITER_FOR_RENDER_ENGINE(graph_, instance_, mode_) \ - DEG_OBJECT_ITER(graph_, instance_, mode_, \ + DEG_OBJECT_ITER_BEGIN(graph_, instance_, mode_, \ DEG_ITER_OBJECT_FLAG_LINKED_DIRECTLY | \ DEG_ITER_OBJECT_FLAG_LINKED_VIA_SET | \ DEG_ITER_OBJECT_FLAG_VISIBLE | \ |