diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-27 13:59:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-27 14:47:40 +0300 |
commit | 67fe5726af06740747c7d33e75d9f0d9324a2d17 (patch) | |
tree | 879186fd5dd33d930e92925100390e619fcea5c7 /source/blender/editors/sculpt_paint | |
parent | 15676bcc85d8ef4c4083643e3ff8b13661de52de (diff) |
Use loop data instead of face data
Replace checks in various places
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_vertex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_vertex.c b/source/blender/editors/sculpt_paint/paint_vertex.c index cafc773c48c..23f388d2a58 100644 --- a/source/blender/editors/sculpt_paint/paint_vertex.c +++ b/source/blender/editors/sculpt_paint/paint_vertex.c @@ -83,8 +83,8 @@ static bool vertex_paint_use_fast_update_check(Object *ob) if (dm) { Mesh *me = BKE_mesh_from_object(ob); - if (me && me->mcol) { - return (me->mcol == CustomData_get_layer(&dm->faceData, CD_MCOL)); + if (me && me->mloopcol) { + return (me->mloopcol == CustomData_get_layer(&dm->loopData, CD_MLOOPCOL)); } } |