Select new object bases using object's base flag
This fixes object duplicate operator.
This commit is contained in:
parent
628dad4f01
commit
51a977a86f
|
@ -793,6 +793,10 @@ static void layer_collection_object_add(SceneLayer *sl, LayerCollection *lc, Obj
|
|||
base->flag |= BASE_SELECTABLED;
|
||||
}
|
||||
|
||||
if (ob->base_flag) {
|
||||
base->flag |= BASE_SELECTED;
|
||||
}
|
||||
|
||||
BLI_addtail(&lc->object_bases, BLI_genericNodeN(base));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue