Skip to content

Commit

Permalink
Merge branch 'fix_add_cloth_mesh' into 'main'
Browse files Browse the repository at this point in the history
Fix wrong vertex index passed to `add_edges()` called from `ModelBuilder.add_cloth_mesh()`

Closes GH-319

See merge request omniverse/warp!764
  • Loading branch information
shi-eric committed Sep 30, 2024
2 parents 80eada8 + c74a9d6 commit 4d7571f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
- Fix printing Boolean and 8-bit integer values.
- Fix array interface type strings used for Boolean and 8-bit integer values.
- Fix initialization error when setting struct members.
- Fix wrong vertex index passed to `add_edges()` called from `ModelBuilder.add_cloth_mesh()` ([GH-319](https://github.com/NVIDIA/warp/issues/319)).

## [1.3.3] - 2024-09-04

Expand Down
2 changes: 1 addition & 1 deletion warp/sim/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -4015,7 +4015,7 @@ def add_cloth_mesh(
edgeinds[:, 0],
edgeinds[:, 1],
edgeinds[:, 2],
edgeinds[:, 0],
edgeinds[:, 3],
edge_ke=[edge_ke] * len(edgeinds),
edge_kd=[edge_kd] * len(edgeinds),
)
Expand Down

0 comments on commit 4d7571f

Please sign in to comment.