[Bf-blender-cvs] [a20e0fd1a58] temp-attribute-processor: fix
Jacques Lucke
noreply at git.blender.org
Wed Jun 23 14:23:15 CEST 2021
Commit: a20e0fd1a581e74ac5ced805057eae2b5bf52977
Author: Jacques Lucke
Date: Wed Jun 23 14:23:06 2021 +0200
Branches: temp-attribute-processor
https://developer.blender.org/rBa20e0fd1a581e74ac5ced805057eae2b5bf52977
fix
===================================================================
M source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc
===================================================================
diff --git a/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc b/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc
index 3ec683c7e67..f587d89a113 100644
--- a/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc
+++ b/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.cc
@@ -223,7 +223,7 @@ class VoronoiTextureFunction : public blender::fn::MultiFunction {
float pa[12];
BLI_noise_voronoi(vector.x, vector.y, vector.z, da, pa, 1, 0);
blender::ColorGeometry4f color;
- BLI_noise_cell_v3(pa[0], pa[1], pa[1], color);
+ BLI_noise_cell_v3(pa[0], pa[1], pa[2], color);
color.a = 1.0f;
r_distances[i] = da[0];
r_colors[i] = color;
More information about the Bf-blender-cvs
mailing list