From a3a9156fd0da5e016d2084d9eb60403514723554 Mon Sep 17 00:00:00 2001 From: Swann Martinez Date: Thu, 14 Mar 2019 14:03:27 +0100 Subject: [PATCH] fix(rcf):object color --- net_operators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net_operators.py b/net_operators.py index 6ee8327..83f26da 100644 --- a/net_operators.py +++ b/net_operators.py @@ -513,9 +513,9 @@ class session_draw_clients(bpy.types.Operator): shader, 'LINES', {"pos": coords}, indices=indices) 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.id != client.id: