[Bf-blender-cvs] [0d0e8979abf] blender2.8: FIx T56758: Outliner - Select Hierarchy not working.
Bastien Montagne
noreply at git.blender.org
Wed Sep 12 15:03:37 CEST 2018
Commit: 0d0e8979abfccadd8336b0e612efc008ce1b79c3
Author: Bastien Montagne
Date: Wed Sep 12 15:02:45 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB0d0e8979abfccadd8336b0e612efc008ce1b79c3
FIx T56758: Outliner - Select Hierarchy not working.
Reversed logical check on object's visibility...
===================================================================
M source/blender/editors/space_outliner/outliner_select.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index bc016816075..d1d97e37b59 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -211,7 +211,7 @@ static void do_outliner_object_select_recursive(ViewLayer *view_layer, Object *o
for (base = FIRSTBASE(view_layer); base; base = base->next) {
Object *ob = base->object;
- if ((((base->flag & BASE_VISIBLE) == 0) && BKE_object_is_child_recursive(ob_parent, ob))) {
+ if ((((base->flag & BASE_VISIBLE) != 0) && BKE_object_is_child_recursive(ob_parent, ob))) {
ED_object_base_select(base, select ? BA_SELECT : BA_DESELECT);
}
}
More information about the Bf-blender-cvs
mailing list