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:
authorDalai Felinto <dfelinto@gmail.com>2017-02-09 17:26:28 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-02-09 17:26:28 +0300
commitff4dc7abfad6f4dc0f14ae158544f69ee981b7fe (patch)
tree5069aae1901aef4cee4750dc8e1c322538139701 /source/blender/blenkernel/BKE_collection.h
parent0b473168cd291615d81ad31ce8254a90ce4f2738 (diff)
Change ITER_BEGIN to work in C++ (include object type in the macro)
Diffstat (limited to 'source/blender/blenkernel/BKE_collection.h')
-rw-r--r--source/blender/blenkernel/BKE_collection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_collection.h b/source/blender/blenkernel/BKE_collection.h
index c3f461dacd6..90904cdfddd 100644
--- a/source/blender/blenkernel/BKE_collection.h
+++ b/source/blender/blenkernel/BKE_collection.h
@@ -70,7 +70,7 @@ void BKE_scene_objects_Iterator_end(struct Iterator *iter);
ITER_BEGIN(BKE_scene_collections_Iterator_begin, \
BKE_scene_collections_Iterator_next, \
BKE_scene_collections_Iterator_end, \
- scene, _sc)
+ scene, SceneCollection, _sc)
#define FOREACH_SCENE_COLLECTION_END \
ITER_END
@@ -79,7 +79,7 @@ void BKE_scene_objects_Iterator_end(struct Iterator *iter);
ITER_BEGIN(BKE_scene_objects_Iterator_begin, \
BKE_scene_objects_Iterator_next, \
BKE_scene_objects_Iterator_end, \
- scene, _ob)
+ scene, Object, _ob)
#define FOREACH_SCENE_OBJECT_END \
ITER_END