You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix typo in RendererSceneCull
Frees skeleton 3d gizmo now correctly
This commit is contained in:
@@ -506,7 +506,7 @@ void RendererSceneCull::instance_set_base(RID p_instance, RID p_base) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (instance->mesh_instance.is_valid()) {
|
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();
|
instance->mesh_instance = RID();
|
||||||
// no need to set instance data flag here, as it was freed above
|
// no need to set instance data flag here, as it was freed above
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user