Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-27 14:19:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-27 14:19:31 +0400
commit4e59fb23525e09763115ea790ac6903c4cc6d3f4 (patch)
tree8260b3420151dd158d67289bf592b7ef354939c6 /source/blender/editors/object/object_add.c
parent7eeb915e8d827dedc1ba32431461eee08dccf609 (diff)
minor changes to outliner
- linking groups into a scene now uses the objects original layers (some users have the layers set to useful values, so overwriting isnt so nice). - dropping objects into the 3d view would make them active but not selected, a valid but confusing state, since most tools activate and select now objects.
Diffstat (limited to 'source/blender/editors/object/object_add.c')
-rw-r--r--source/blender/editors/object/object_add.c1
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 f31324935d2..81372a753df 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -2122,6 +2122,7 @@ static int add_named_exec(bContext *C, wmOperator *op)
ED_view3d_cursor3d_position(C, basen->object->loc, mval);
}
+ ED_base_object_select(basen, BA_SELECT);
ED_base_object_activate(C, basen);
copy_object_set_idnew(C, dupflag);