make sure objects dragged into the viewport are not hidden.
This commit is contained in:
parent
68f9226d5b
commit
29b4b56c66
@ -2112,6 +2112,7 @@ static int add_named_exec(bContext *C, wmOperator *op)
|
||||
}
|
||||
|
||||
basen->lay = basen->object->lay = scene->lay;
|
||||
basen->object->restrictflag &= ~OB_RESTRICT_VIEW;
|
||||
|
||||
if (event) {
|
||||
ARegion *ar = CTX_wm_region(C);
|
||||
|
Loading…
x
Reference in New Issue
Block a user