Revert "Icons: avoid error with colors out of 0-255 range"

This reverts commit 6e7da7616b6b02d2827f306ea4e55510a79b79de.
This commit is contained in:
Campbell Barton 2018-08-23 21:36:51 +10:00
parent 73f90b2505
commit 7f8014f918

@ -162,7 +162,7 @@ def mesh_data_lists_from_mesh(me, material_colors):
), ),
# RGBA color. # RGBA color.
tuple(( tuple((
[min(max(int(c * b * 255), 0), 255) for c, b in zip(cn.color, base_color)] [int(c * b * 255) for c, b in zip(cn.color, base_color)]
for cn in (c0, c1, c2) for cn in (c0, c1, c2)
)), )),
)) ))