diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-08-23 14:36:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-23 14:36:51 +0300 |
commit | 7f8014f918422d2968b0b14ec5440aae89599fea (patch) | |
tree | 8956af65c43d06854768592d202a89ee843c0453 /release/datafiles | |
parent | 73f90b250551566c576588ed4fae88d6ad9d1162 (diff) |
Revert "Icons: avoid error with colors out of 0-255 range"
This reverts commit 6e7da7616b6b02d2827f306ea4e55510a79b79de.
Diffstat (limited to 'release/datafiles')
-rw-r--r-- | release/datafiles/blender_icons_geom.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/datafiles/blender_icons_geom.py b/release/datafiles/blender_icons_geom.py index b9f7c05ac31..f3af7f997c1 100644 --- a/release/datafiles/blender_icons_geom.py +++ b/release/datafiles/blender_icons_geom.py @@ -162,7 +162,7 @@ def mesh_data_lists_from_mesh(me, material_colors): ), # RGBA color. 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) )), )) |