Outliner: Bring back "activate" object when selecting from outliner

This commit is contained in:
Dalai Felinto 2017-05-16 16:40:00 +02:00
parent 3826e77593
commit 15317775c5
1 changed files with 5 additions and 1 deletions

View File

@ -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) {