Skip to content

Commit

Permalink
calc normals bugfix (#4180)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicdoval authored Jun 22, 2021
1 parent a5f8693 commit f8c2e5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/sv_mesh_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def calc_mesh_normals_np(vertices,
if get_v_normals:
f_normal_g, v_normals = norm_func(np_faces_g, v_pols, v_normals, non_planar, v_normal_alg)
else:
f_normals = np_faces_normals(v_pols)
f_normal_g = np_faces_normals(v_pols)

f_normals[mask, :] = f_normal_g

Expand Down

0 comments on commit f8c2e5e

Please sign in to comment.