Fix multiple-object uv selection not "deselecting" other objects
authorDalai Felinto <dfelinto@gmail.com>
Fri, 19 Oct 2018 11:49:55 +0000 (08:49 -0300)
committerDalai Felinto <dfelinto@gmail.com>
Fri, 19 Oct 2018 11:49:55 +0000 (08:49 -0300)
source/blender/editors/uvedit/uvedit_ops.c

index f4fc6f3546714e9c130fa73544b1ac37a5b852d1..de17c20f68a4b7109f597b3f283e9b62ffd2c4d0 100644 (file)
@@ -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;
 }