Outliner: Fix unparenting poll (when drag'n'droping an object)
This commit is contained in:
parent
db9f0527e8
commit
7866870a9a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue