[Bf-blender-cvs] [492a9e4023a] master: Fix crash when using multiple Sculpt Vertex Color layers for rendering
Pablo Dobarro
noreply at git.blender.org
Fri Oct 30 18:08:15 CET 2020
Commit: 492a9e4023acfa44952ff6a4130e34b48b1babf7
Author: Pablo Dobarro
Date: Tue Oct 27 20:38:47 2020 +0100
Branches: master
https://developer.blender.org/rB492a9e4023acfa44952ff6a4130e34b48b1babf7
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
===================================================================
M source/blender/draw/intern/draw_cache_extract_mesh.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list