diff options
Diffstat (limited to 'add_curve_extra_objects')
-rw-r--r-- | add_curve_extra_objects/add_curve_torus_knots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add_curve_extra_objects/add_curve_torus_knots.py b/add_curve_extra_objects/add_curve_torus_knots.py index a3c05ff6..30d19b58 100644 --- a/add_curve_extra_objects/add_curve_torus_knots.py +++ b/add_curve_extra_objects/add_curve_torus_knots.py @@ -325,10 +325,10 @@ def addLinkColors(self, curveData): # set material color if self.options_plus and self.random_colors: - mat.diffuse_color = random(), random(), random() + mat.diffuse_color = (random(), random(), random(), 1.0) else: cID = i % (len(colors)) # cycle through predefined colors - mat.diffuse_color = colors[cID] + mat.diffuse_color = (*colors[cID], 1.0) if self.options_plus: mat.diffuse_color.s = self.saturation |