diff --git a/cq_server/module_manager.py b/cq_server/module_manager.py index b125281..b497329 100644 --- a/cq_server/module_manager.py +++ b/cq_server/module_manager.py @@ -146,7 +146,8 @@ def get_assembly(self): else MODEL_COLOR_DEFAULT if alpha: - color = Color(color.toTuple()[:3] + [ alpha ]) + r, g, b = color.toTuple()[:3] + color = Color(r, g, b, alpha) try: assembly.add(result.shape, color=color, name=name)