diff options
author | tefusion <makotoprogr4mming@gmail.com> | 2022-08-22 22:09:56 +0200 |
---|---|---|
committer | tefusion <makotoprogr4mming@gmail.com> | 2022-08-22 22:09:56 +0200 |
commit | a2c422a6da813d2db970f72285fe2eb3e17f238b (patch) | |
tree | 4dae5a8f3ce653ca76703938df597363dd0bee13 /servers | |
parent | 85cb22bd919290be8ad6349edc34e5d39102f244 (diff) |
Fix typo in RendererSceneCull
Frees skeleton 3d gizmo now correctly
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 } |