feat: metaball selection drawing

related to #34
This commit is contained in:
Swann Martinez 2019-11-22 18:51:24 +01:00
parent 43eeb8299e
commit af923feecd
No known key found for this signature in database
GPG Key ID: 414CCAFD8DA720E1

View File

@ -240,7 +240,7 @@ class DrawFactory(object):
get_bb_coords_from_obj(obj, parent=ob), get_bb_coords_from_obj(obj, parent=ob),
indices) indices)
if ob.type == 'MESH': if ob.type in ['MESH','META']:
indices = ( indices = (
(0, 1), (1, 2), (2, 3), (0, 3), (0, 1), (1, 2), (2, 3), (0, 3),
(4, 5), (5, 6), (6, 7), (4, 7), (4, 5), (5, 6), (6, 7), (4, 7),