From 879c13bbfc79d997ce9148d24c26704fbe6e3b50 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 19 Jan 2012 09:09:00 +0000 Subject: rename rgb_float_to_byte, rgb_byte_to_float to rgb_float_to_uchar, rgb_uchar_to_float and swap args (math functions mostly have dest arg first like strcpy). --- source/tests/bl_mesh_modifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/tests') diff --git a/source/tests/bl_mesh_modifiers.py b/source/tests/bl_mesh_modifiers.py index 789a4037659..917ccbc0d24 100644 --- a/source/tests/bl_mesh_modifiers.py +++ b/source/tests/bl_mesh_modifiers.py @@ -301,7 +301,7 @@ def mesh_vcol_add(obj, mode=0): face_verts = mesh_bmesh_poly_vertices(poly) poly_cols = mesh_bmesh_poly_elems(poly, col_list) for i, c in enumerate(poly_cols): - c.color = colors[i % 4] + c.color = colors_get(face_verts[i]) else: for i, col in enumerate(vcol_lay.data): face_verts = mesh.faces[i].vertices -- cgit v1.2.3