diff options
author | Stephen Swaney <sswaney@centurytel.net> | 2004-06-04 11:52:06 +0400 |
---|---|---|
committer | Stephen Swaney <sswaney@centurytel.net> | 2004-06-04 11:52:06 +0400 |
commit | 7bf68643607644b95c181269326268db277de65d (patch) | |
tree | 5c471f6a20bba844a2158a625b4b25c721776837 /source/blender/python/api2_2x/Object.c | |
parent | 72493e41bd24b0c6a30c486e32421acb6bf2ce07 (diff) |
In Object.select() make the selected object the active object.
Update by Campbell Barton to his previous patch.
Diffstat (limited to 'source/blender/python/api2_2x/Object.c')
-rw-r--r-- | source/blender/python/api2_2x/Object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Object.c b/source/blender/python/api2_2x/Object.c index efa419bed0f..772e4bb86ea 100644 --- a/source/blender/python/api2_2x/Object.c +++ b/source/blender/python/api2_2x/Object.c @@ -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; |