diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 13:09:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-19 13:09:00 +0400 |
commit | 879c13bbfc79d997ce9148d24c26704fbe6e3b50 (patch) | |
tree | c63d74cd192ce04073d59f196f5525afa80b48d1 /source/tests | |
parent | 4786541285f6f190922ec9857753d620c528f181 (diff) |
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).
Diffstat (limited to 'source/tests')
-rw-r--r-- | source/tests/bl_mesh_modifiers.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |