fix: collection instance bounding box selection

This commit is contained in:
Swann 2021-05-17 16:03:01 +02:00
parent d47eab4f26
commit 249bcf827b
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -302,8 +302,9 @@ 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),
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: