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:
authorCampbell Barton <ideasman42@gmail.com>2018-03-01 11:00:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-01 11:01:53 +0300
commit7aed2de798b1e5f8663e8fe608a99f6c9f53c382 (patch)
tree1f811fd3d80e3cce969db7e317b5629e54cbe5ce /source/blender/editors/physics/physics_pointcache.c
parent1fc5eb305a2bd61ed465db376cec73a3822c0bf6 (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/editors/physics/physics_pointcache.c')
-rw-r--r--source/blender/editors/physics/physics_pointcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c
index a859f664dc8..3062ccb83bf 100644
--- a/source/blender/editors/physics/physics_pointcache.c
+++ b/source/blender/editors/physics/physics_pointcache.c
@@ -260,7 +260,7 @@ static int ptcache_free_bake_all_exec(bContext *C, wmOperator *UNUSED(op))
PTCacheID *pid;
ListBase pidlist;
- FOREACH_SCENE_OBJECT(scene, ob)
+ FOREACH_SCENE_OBJECT_BEGIN(scene, ob)
{
BKE_ptcache_ids_from_object(&pidlist, ob, scene, MAX_DUPLI_RECUR);