Commit: b4106ed17037b000d741c007ec1a8b88f6c2f5b7
Author: Brecht Van Lommel
Date: Thu May 24 14:46:09 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBb4106ed17037b000d741c007ec1a8b88f6c2f5b7
Fix T55175: outliner "Show Active" not working.
===================================================================
M source/blender/editors/space_outliner/outliner_utils.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_utils.c
b/source/blender/editors/space_outliner/outliner_utils.c
index 896f6c016d0..6b7035dd326 100644
--- a/source/blender/editors/space_outliner/outliner_utils.c
+++ b/source/blender/editors/space_outliner/outliner_utils.c
@@ -142,13 +142,11 @@ TreeElement *outliner_find_id(SpaceOops *soops, ListBase
*lb, const ID *id)
if (tselem->id == id) {
return te;
}
- /* only deeper on scene collection or object */
- if (ELEM(te->idcode, ID_OB, ID_SCE, ID_GR)) {
- TreeElement *tes = outliner_find_id(soops,
&te->subtree, id);
- if (tes) {
- return tes;
- }
- }
+ }
+
+ TreeElement *tes = outliner_find_id(soops, &te->subtree, id);
+ if (tes) {
+ return tes;
}
}
return NULL;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs