In Object.select() make the selected object the active object.
Update by Campbell Barton to his previous patch.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user