diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-19 17:28:07 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-19 17:28:16 +0300 |
commit | 7866870a9a58ce086f4af5dc7dc7bc8acf1e333c (patch) | |
tree | 8f84015af7c3d0cd24706638c9fc121e4d4e8162 /source/blender/editors/space_outliner | |
parent | db9f0527e8458524bbdf8b48f54d442bf9d870cf (diff) |
Outliner: Fix unparenting poll (when drag'n'droping an object)
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |