Outliner: Bring back "activate" object when selecting from outliner
This commit is contained in:
parent
3826e77593
commit
15317775c5
|
@ -165,7 +165,11 @@ static eOLDrawState tree_element_set_active_object(
|
|||
}
|
||||
|
||||
/* find associated base in current scene */
|
||||
base = BKE_scene_base_find(scene, ob);
|
||||
if (te->directdata) {
|
||||
base = te->directdata;
|
||||
} else {
|
||||
base = BKE_scene_layer_base_find(sl, ob);
|
||||
}
|
||||
|
||||
if (base) {
|
||||
if (set == OL_SETSEL_EXTEND) {
|
||||
|
|
Loading…
Reference in New Issue