Skip to content

Commit

Permalink
Fix OpenXR MSFT controller models;
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornbytes committed May 19, 2024
1 parent 33d3efe commit 92e0c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/headset/headset_openxr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2304,7 +2304,7 @@ static ModelData* openxr_newModelDataMSFT(XrControllerModelKeyMSFT modelKey, boo

for (uint32_t i = 0; i < properties.nodeCountOutput; i++) {
const char* name = nodeProperties[i].nodeName;
uint64_t nodeIndex = map_get(&model->nodeMap, hash64(name, strlen(name)));
uint64_t nodeIndex = map_get(model->nodeMap, hash64(name, strlen(name)));
lovrCheck(nodeIndex != MAP_NIL, "ModelData has no node named '%s'", name);
metadata->nodeIndices[i] = nodeIndex;
}
Expand Down

0 comments on commit 92e0c44

Please sign in to comment.