From a2c422a6da813d2db970f72285fe2eb3e17f238b Mon Sep 17 00:00:00 2001 From: tefusion Date: Mon, 22 Aug 2022 22:09:56 +0200 Subject: Fix typo in RendererSceneCull Frees skeleton 3d gizmo now correctly --- servers/rendering/renderer_scene_cull.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'servers') 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 } -- cgit v1.2.3