From 3dc29130e9e0dbd187caeb801f82249c76366f06 Mon Sep 17 00:00:00 2001 From: Alex Zastrow Date: Wed, 7 Feb 2024 11:59:06 +0100 Subject: [PATCH] Fix draw interfaces --- phobos/blender/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phobos/blender/display.py b/phobos/blender/display.py index 23355051..66e59d3e 100644 --- a/phobos/blender/display.py +++ b/phobos/blender/display.py @@ -434,7 +434,7 @@ def draw_callback_2d(self, context): nUtils.getObjectName(interface), to2d(interface.matrix_world.translation), textsize=6, - textcolor=(*color, 1.0 if interface.show_name else 0.4), + textcolor=(*color[0:3], 1.0 if interface.show_name else 0.4), backgroundcolor=(*bgcolor, 1.0) if interface.show_name else colors['background'], linewidth=3 if interface.show_name else 2, )