diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-01-18 23:02:32 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-01-18 23:02:32 +0300 |
commit | dc296542d450a7bf7030f8ef60dbe93eb832a5ef (patch) | |
tree | 697cc4640ca7aaf6e0c5f2f0dc49618bbbda9cec /source/blender/editors/space_outliner | |
parent | f1cfe675948c1bdae3f3d8323a623740f6be2fe0 (diff) |
Outliner: Fix parenting clear poll
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/space_outliner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c index 5d7494aee09..b8857757aed 100644 --- a/source/blender/editors/space_outliner/space_outliner.c +++ b/source/blender/editors/space_outliner/space_outliner.c @@ -163,7 +163,7 @@ static int outliner_parent_clear_poll(bContext *C, wmDrag *drag, const wmEvent * UI_view2d_region_to_view(&ar->v2d, event->mval[0], event->mval[1], &fmval[0], &fmval[1]); - if (!ELEM(soops->outlinevis, SO_ALL_SCENES, SO_CUR_SCENE, SO_VISIBLE, SO_GROUPS)) { + if (!ELEM(soops->outlinevis, SO_ALL_SCENES, SO_CUR_SCENE, SO_VISIBLE, SO_GROUPS, SO_VIEW_LAYER, SO_COLLECTIONS)) { return false; } |