From 249bcf827bf41d424a450cd4ab1ffd8ed4e5c597 Mon Sep 17 00:00:00 2001 From: Swann Date: Mon, 17 May 2021 16:03:01 +0200 Subject: [PATCH] fix: collection instance bounding box selection --- multi_user/presence.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/multi_user/presence.py b/multi_user/presence.py index 30b10d2..be3f27b 100644 --- a/multi_user/presence.py +++ b/multi_user/presence.py @@ -302,9 +302,10 @@ class UserSelectionWidget(Widget): return vertex_pos = bbox_from_obj(ob, 1.0) - vertex_indices = ((0, 1), (0, 2), (1, 3), (2, 3), - (4, 5), (4, 6), (5, 7), (6, 7), - (0, 4), (1, 5), (2, 6), (3, 7)) + vertex_indices = ( + (0, 1), (1, 2), (2, 3), (0, 3), + (4, 5), (5, 6), (6, 7), (4, 7), + (0, 4), (1, 5), (2, 6), (3, 7)) if ob.instance_collection: for obj in ob.instance_collection.objects: