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:
authorHans Goudey <h.goudey@me.com>2020-09-30 01:08:32 +0300
committerHans Goudey <h.goudey@me.com>2020-09-30 01:08:32 +0300
commit23363ca08498b4c9d05321186f608f71b8489406 (patch)
tree0d0eb5bdef14738833249250cbbf0ab31dd9717f /source/blender/editors/space_outliner/outliner_select.c
parent1b6480ebb76db1769d7bb88be2ac932a3c558fe6 (diff)
Cleanup: Use LISTBASE_FOREACH macro in outliner code
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_select.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 602bb351c0f..8034996f5c3 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -1419,8 +1419,8 @@ static void outliner_item_box_select(bContext *C,
/* Look at its children. */
if (TSELEM_OPEN(tselem, space_outliner)) {
- for (te = te->subtree.first; te; te = te->next) {
- outliner_item_box_select(C, space_outliner, scene, rectf, te, select);
+ LISTBASE_FOREACH (TreeElement *, te_sub, &te->subtree) {
+ outliner_item_box_select(C, space_outliner, scene, rectf, te_sub, select);
}
}
}