Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2020-10-27 22:38:47 +0300
committerPablo Dobarro <pablodp606@gmail.com>2020-10-30 20:07:51 +0300
commit492a9e4023acfa44952ff6a4130e34b48b1babf7 (patch)
treeb2c5f7d82acecc3d78e17a4a75ace056ba34c5f4 /source/blender/draw
parent02702235522be0b224779d5ff7338ba3309323f0 (diff)
Fix crash when using multiple Sculpt Vertex Color layers for rendering
This line was probable left there after a bad merge. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D9367
Diffstat (limited to 'source/blender/draw')
-rw-r--r--source/blender/draw/intern/draw_cache_extract_mesh.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.c b/source/blender/draw/intern/draw_cache_extract_mesh.c
index 56633a6fecc..ff1efccd507 100644
--- a/source/blender/draw/intern/draw_cache_extract_mesh.c
+++ b/source/blender/draw/intern/draw_cache_extract_mesh.c
@@ -2800,8 +2800,6 @@ static void *extract_vcol_init(const MeshRenderData *mr, struct MeshBatchCache *
vcol_data->a = unit_float_to_ushort_clamp(vcol[loops[ml_index].v].color[3]);
}
}
-
- vcol_data += mr->loop_len;
}
}
return NULL;