Fix outliner incomplete collections right click menu in Blender File.
This commit is contained in:
parent
96a7ed8a15
commit
53d1ec95ea
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue