[Bf-blender-cvs] [53d1ec95ea3] blender2.8: Fix outliner incomplete collections right click menu in Blender File.

Brecht Van Lommel noreply at git.blender.org
Tue May 22 16:02:00 CEST 2018


Commit: 53d1ec95ea3d92daaa16221c9daba5da5deb5c0c
Author: Brecht Van Lommel
Date:   Tue May 22 15:49:50 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB53d1ec95ea3d92daaa16221c9daba5da5deb5c0c

Fix outliner incomplete collections right click menu in Blender File.

===================================================================

M	source/blender/editors/space_outliner/outliner_collections.c

===================================================================

diff --git a/source/blender/editors/space_outliner/outliner_collections.c b/source/blender/editors/space_outliner/outliner_collections.c
index c44345a168b..50df124bf22 100644
--- a/source/blender/editors/space_outliner/outliner_collections.c
+++ b/source/blender/editors/space_outliner/outliner_collections.c
@@ -104,7 +104,7 @@ Collection *outliner_collection_from_tree_element(const TreeElement *te)
 static int collections_editor_poll(bContext *C)
 {
 	SpaceOops *so = CTX_wm_space_outliner(C);
-	return (so != NULL) && ELEM(so->outlinevis, SO_VIEW_LAYER, SO_SCENES);
+	return (so != NULL) && ELEM(so->outlinevis, SO_VIEW_LAYER, SO_SCENES, SO_LIBRARIES);
 }



More information about the Bf-blender-cvs mailing list