Commit: f7b9114eec46ee2a8e53a04698e50671db3e79e5
Author: Jacques Lucke
Date:   Fri Sep 3 10:53:06 2021 +0200
Branches: temp-geometry-nodes-fields
https://developer.blender.org/rBf7b9114eec46ee2a8e53a04698e50671db3e79e5

fix typo

===================================================================

M       source/blender/nodes/geometry/nodes/node_geo_input_normal.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_input_normal.cc 
b/source/blender/nodes/geometry/nodes/node_geo_input_normal.cc
index c5162d49d70..156592c37cd 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_input_normal.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_input_normal.cc
@@ -134,7 +134,7 @@ static const GVArray *construct_mesh_normals_gvarray(const 
MeshComponent &mesh_c
       /* The normals on corners are just the mesh's face normals, so start 
with the face normal
        * array and copy the face normal for each of its corners. */
       GVArrayPtr face_normals = mesh_face_normals(
-          mesh, verts, polys, loops, IndexRange(polys.size()]));
+          mesh, verts, polys, loops, IndexRange(polys.size()));
 
       /* In this case using the mesh component's generic domain interpolation 
is fine,
        * since the face normal is just copied to every corner. */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to