In Object.select() make the selected object the active object.

Update by Campbell Barton to his previous patch.
This commit is contained in:
Stephen Swaney
2004-06-04 07:52:06 +00:00
parent 72493e41bd
commit 7bf6864360

View File

@@ -1638,6 +1638,7 @@ static PyObject *Object_Select (BPy_Object *self, PyObject *args)
if (sel == 1){
base->flag |= SELECT;
self->object->flag= base->flag;
set_active_base( base );
} else {
base->flag &= ~SELECT;
self->object->flag= base->flag;