Skip to content

Commit 15d51e8

Browse files
authored
Fix crash in HdMesh when using indexed uvs and shared arrays (#2365)
1 parent d601675 commit 15d51e8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
### Bug Fixes
1717

1818
- [usd#2333](https://github.com/Autodesk/arnold-usd/issues/2333) - Fix crash in USD writer when the outputs string contains asterisk
19+
- [usd#2364](https://github.com/Autodesk/arnold-usd/issues/2364) - Fix crash render delegate when using indexed uvs and shared arrays.
1920

2021
## Next Bugfix release (7.4.2.2)
2122

libs/render_delegate/mesh.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ HdArnoldMesh::~HdArnoldMesh() {
188188
AiNodeResetParameter(node, str::nlist);
189189
AiNodeResetParameter(node, str::nidxs); // nidxs might be shared with vidx so we need to reset it as well
190190
AiNodeResetParameter(node, str::uvlist);
191+
AiNodeResetParameter(node, str::uvidxs);// uvidxs might be shared with vidx so we need to reset it as well
191192
}
192193

193194
// We the ArrayHolder should be empty, otherwise it means that we are potentially destroying

0 commit comments

Comments
 (0)