Skip to content

Commit 03e961e

Browse files
committed
Fixed harmonic weights
1 parent e801a43 commit 03e961e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/optimize_impl/targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def generate_tutte_param(v, f):
3636
"""
3737
bd = igl.boundary_loop(f)
3838
bd_uv = igl.map_vertices_to_circle(v, bd)
39-
uv = igl.harmonic(v, f, bd, bd_uv, 1)
39+
uv = igl.harmonic_weights(v, f, bd, bd_uv, 1)
4040
uv_embed = np.zeros((len(uv), 3))
4141
uv_embed[:,:2] = uv[:,:2]
4242

0 commit comments

Comments
 (0)