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:
Diffstat (limited to 'source/blender/editors/object/object_select.c')
-rw-r--r--source/blender/editors/object/object_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/object/object_select.c b/source/blender/editors/object/object_select.c
index c857a7be4a3..5cf04ddc735 100644
--- a/source/blender/editors/object/object_select.c
+++ b/source/blender/editors/object/object_select.c
@@ -159,7 +159,7 @@ void ED_object_base_activate(bContext *C, Base *base)
if (workspace->object_mode & OB_MODE_ALL_MODE_DATA) {
EvaluationContext eval_ctx;
CTX_data_eval_ctx(C, &eval_ctx);
- FOREACH_OBJECT(view_layer, ob) {
+ FOREACH_OBJECT_BEGIN(view_layer, ob) {
if (ob != obact) {
ED_object_mode_generic_exit(&eval_ctx, workspace, scene, ob);
}