Use const ref parameters in the OpenXR module

This commit is contained in:
Aaron Franke 2025-09-26 17:02:33 -07:00
parent b4472f4670
commit c3e6002c6e
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
36 changed files with 183 additions and 185 deletions

View file

@ -63,7 +63,7 @@ void OpenXRRenderModelManager::_update_models() {
ERR_FAIL_NULL(render_model_extension);
// Make a copy of our current models.
HashMap<RID, Node3D *> org_render_models = render_models;
HashMap<RID, Node3D *> org_render_models = HashMap<RID, Node3D *>(render_models);
// Loop through our interaction data so we add new entries.
TypedArray<RID> render_model_rids = render_model_extension->render_model_get_all();