diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-25 18:54:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 18:54:25 +0200 |
commit | 5d78ab43888a565a87175814c94cf7d03d8fccb7 (patch) | |
tree | 7dca3e954941776b42d8f6801432aa804237589c /servers | |
parent | 88145e81e2562be8379f199e02af7ec253551392 (diff) | |
parent | a2c422a6da813d2db970f72285fe2eb3e17f238b (diff) |
Merge pull request #64749 from tefusion/fix_skeleton_editor_mesh_free_errors
Fix typo in RendererSceneCull which caused mesh_free errors
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering/renderer_scene_cull.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_scene_cull.cpp b/servers/rendering/renderer_scene_cull.cpp index 0b20bb372a..9f5eb85c2f 100644 --- a/servers/rendering/renderer_scene_cull.cpp +++ b/servers/rendering/renderer_scene_cull.cpp @@ -506,7 +506,7 @@ void RendererSceneCull::instance_set_base(RID p_instance, RID p_base) { } if (instance->mesh_instance.is_valid()) { - RSG::mesh_storage->mesh_free(instance->mesh_instance); + RSG::mesh_storage->mesh_instance_free(instance->mesh_instance); instance->mesh_instance = RID(); // no need to set instance data flag here, as it was freed above } |