diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-20 21:40:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-20 21:40:16 +0300 |
commit | 2fb9c8ef125f975596b6ef9c8f021403f8279bdf (patch) | |
tree | 02633f97a682dcd4935bf9b3170dfe5841ed048a /source/blender/editors/object/object_collection.c | |
parent | 6b9ce24338de1a33dbf41e14e85a1630b1a2b899 (diff) |
Cleanup: add missing macros to clang-format
Diffstat (limited to 'source/blender/editors/object/object_collection.c')
-rw-r--r-- | source/blender/editors/object/object_collection.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/editors/object/object_collection.c b/source/blender/editors/object/object_collection.c index 0b22dec99c7..e0de4b8faef 100644 --- a/source/blender/editors/object/object_collection.c +++ b/source/blender/editors/object/object_collection.c @@ -139,8 +139,7 @@ static int objects_add_active_exec(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; /* now add all selected objects to the collection(s) */ - FOREACH_COLLECTION_BEGIN(bmain, scene, Collection *, collection) - { + FOREACH_COLLECTION_BEGIN (bmain, scene, Collection *, collection) { if (single_collection && collection != single_collection) continue; if (!BKE_collection_has_object(collection, ob)) @@ -220,8 +219,7 @@ static int objects_remove_active_exec(bContext *C, wmOperator *op) /* Linking to same collection requires its own loop so we can avoid * looking up the active objects collections each time. */ - FOREACH_COLLECTION_BEGIN(bmain, scene, Collection *, collection) - { + FOREACH_COLLECTION_BEGIN (bmain, scene, Collection *, collection) { if (single_collection && collection != single_collection) continue; @@ -319,8 +317,7 @@ static int collection_objects_remove_exec(bContext *C, wmOperator *op) if (ob == NULL) return OPERATOR_CANCELLED; - FOREACH_COLLECTION_BEGIN(bmain, scene, Collection *, collection) - { + FOREACH_COLLECTION_BEGIN (bmain, scene, Collection *, collection) { if (single_collection && collection != single_collection) continue; if (!BKE_collection_has_object(collection, ob)) |