diff options
-rw-r--r-- | source/blender/editors/object/object_edit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c index de0ca05b0ad..24dd56a4834 100644 --- a/source/blender/editors/object/object_edit.c +++ b/source/blender/editors/object/object_edit.c @@ -197,6 +197,9 @@ static int object_hide_view_set_exec(bContext *C, wmOperator *op) if (!(base->flag & SELECT)) { base->object->restrictflag |= OB_RESTRICT_VIEW; changed = 1; + if (base == BASACT) { + ED_base_object_activate(C, NULL); + } } } } |