diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-09 20:19:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-09 20:19:07 +0400 |
commit | 06b3d4f7bbd92d16d14928fbc7d540e774e84f26 (patch) | |
tree | 698c6391249398597406f8abf3fe6d833a111673 /source/blender/editors/space_outliner/outliner_select.c | |
parent | 2ff48c019d8f1c40749487d1d2bf6010b816bcf9 (diff) |
code cleanup:
- use BM_ITER_* macros in more places.
- avoid sign int conversion when calling EDBM_backbuf_check()
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_select.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_select.c | 4 |
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 f42a0d4c449..8b7486a31b7 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -147,7 +147,7 @@ static int tree_element_active_renderlayer(bContext *C, TreeElement *te, TreeSto * CTRL+LMB: Select/Deselect object and all cildren * CTRL+SHIFT+LMB: Add/Remove object and all children */ -static void set_select_recursive(Scene *scene, Object *ob_parent, bool select) +static void do_outliner_object_select_recursive(Scene *scene, Object *ob_parent, bool select) { Base *base; @@ -201,7 +201,7 @@ static int tree_element_set_active_object(bContext *C, Scene *scene, SpaceOops if (recursive) { /* Recursive select/deselect */ - set_select_recursive(scene, ob, (ob->flag & SELECT) != 0); + do_outliner_object_select_recursive(scene, ob, (ob->flag & SELECT) != 0); } if (C) { |