[Bf-blender-cvs] [93f1d76bf0e] master: DrawManager: UV Stretching
Jeroen Bakker
noreply at git.blender.org
Fri Aug 30 16:17:18 CEST 2019
Commit: 93f1d76bf0eb5bcae43ffda4022c3d2018962994
Author: Jeroen Bakker
Date: Fri Aug 30 16:14:59 2019 +0200
Branches: master
https://developer.blender.org/rB93f1d76bf0eb5bcae43ffda4022c3d2018962994
DrawManager: UV Stretching
Calculating UV Stretching on large meshes showed garbage. The reason
is that the calculation is not thread save. Temporarily disable
threading for UV Stretching
===================================================================
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 086205ee760..d952965de35 100644
--- a/source/blender/draw/intern/draw_cache_extract_mesh.c
+++ b/source/blender/draw/intern/draw_cache_extract_mesh.c
@@ -2822,8 +2822,8 @@ static void compute_normalize_edge_vectors(float auv[2][2],
float av[2][3],
const float uv[2],
const float uv_prev[2],
- const float co[2],
- const float co_prev[2])
+ const float co[3],
+ const float co_prev[3])
{
/* Move previous edge. */
copy_v2_v2(auv[0], auv[1]);
@@ -2986,7 +2986,7 @@ static const MeshExtract extract_stretch_angle = {
NULL,
extract_stretch_angle_finish,
0,
- true,
+ false,
};
/** \} */
More information about the Bf-blender-cvs
mailing list