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:
authorDalai Felinto <dfelinto@gmail.com>2018-10-19 14:49:55 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-10-19 14:49:55 +0300
commit15d5cd961c353be0d8ce58045862924a14200d90 (patch)
treefc5328b29fe53e7d9c57438b37b6d990330cfb0e
parentd01e0d1ef1c4ddc45ee8e054aae7b08bbe57d0bf (diff)
Fix multiple-object uv selection not "deselecting" other objects
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index f4fc6f35467..de17c20f68a 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -2576,7 +2576,10 @@ static int uv_mouse_select_multi(
#endif
}
- uv_select_tag_update_for_object(depsgraph, ts, obedit);
+ for (uint ob_index = 0; ob_index < objects_len; ob_index++) {
+ Object *obiter = objects[ob_index];
+ uv_select_tag_update_for_object(depsgraph, ts, obiter);
+ }
return OPERATOR_PASS_THROUGH | OPERATOR_FINISHED;
}