diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-27 08:57:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-27 08:57:53 +0400 |
commit | 29b4b56c668f541d891432e5b86ab5d214da8441 (patch) | |
tree | 1d847279d11a84e513b7b660dfc388cdb83901c0 /source | |
parent | 68f9226d5b5c417c5b79178a2cb18a13699375d2 (diff) |
make sure objects dragged into the viewport are not hidden.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/object/object_add.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 2d1e39107d7..f31324935d2 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -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); |