Commit: 7866870a9a58ce086f4af5dc7dc7bc8acf1e333c
Author: Dalai Felinto
Date:   Fri Jan 19 12:28:07 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB7866870a9a58ce086f4af5dc7dc7bc8acf1e333c

Outliner: Fix unparenting poll (when drag'n'droping an object)

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

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

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

diff --git a/source/blender/editors/space_outliner/outliner_edit.c 
b/source/blender/editors/space_outliner/outliner_edit.c
index 50e81cdde01..fc0e30c78ce 100644
--- a/source/blender/editors/space_outliner/outliner_edit.c
+++ b/source/blender/editors/space_outliner/outliner_edit.c
@@ -2085,7 +2085,7 @@ static int outliner_parenting_poll(bContext *C)
        SpaceOops *soops = CTX_wm_space_outliner(C);
 
        if (soops) {
-               return ELEM(soops->outlinevis, SO_SCENES, SO_GROUPS);
+               return ELEM(soops->outlinevis, SO_VIEW_LAYER, SO_COLLECTIONS, 
SO_GROUPS);
        }
 
        return false;

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to