[Bf-blender-cvs] [492145f8acb] blender2.8: Collections: As it turned out, this is quite harmless to have accessible everwhere

Dalai Felinto noreply at git.blender.org
Fri Jan 26 22:56:58 CET 2018


Commit: 492145f8acb09c9aa234208cc7605e3b69cb8311
Author: Dalai Felinto
Date:   Fri Jan 26 19:41:45 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB492145f8acb09c9aa234208cc7605e3b69cb8311

Collections: As it turned out, this is quite harmless to have accessible everwhere

I think ultimately we may move these operators from the outliner space to scene.

Partial revert of a08f687b91a2a7880889.

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

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 8aacc0a4368..8999555521a 100644
--- a/source/blender/editors/space_outliner/outliner_collections.c
+++ b/source/blender/editors/space_outliner/outliner_collections.c
@@ -238,7 +238,6 @@ void OUTLINER_OT_collection_link(wmOperatorType *ot)
 	/* api callbacks */
 	ot->exec = collection_link_exec;
 	ot->invoke = collection_link_invoke;
-	ot->poll = view_layer_editor_poll;
 
 	/* flags */
 	ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;



More information about the Bf-blender-cvs mailing list