fix(rcf):object color

This commit is contained in:
Swann Martinez
2019-03-14 14:03:27 +01:00
parent 6dd31e538f
commit a3a9156fd0

View File

@ -513,9 +513,9 @@ class session_draw_clients(bpy.types.Operator):
shader, 'LINES', {"pos": coords}, indices=indices) shader, 'LINES', {"pos": coords}, indices=indices)
self.draw_items.append( self.draw_items.append(
(shader, batch, (None, None), COLOR_TABLE[index_object])) (shader, batch, (None, None), COLOR_TABLE[index-1]))
index_object += 1 # index_object += 1
if values.mtype == "client": if values.mtype == "client":
if values.id != client.id: if values.id != client.id: