Rename server "free" functions to "free_rid" to match exposed API

This commit is contained in:
Aaron Franke
2025-06-05 00:49:35 -07:00
parent 4d231b5bf8
commit 9fbf5808a0
158 changed files with 724 additions and 696 deletions

View File

@@ -975,11 +975,11 @@ Path2DEditor::Path2DEditor() {
Path2DEditor::~Path2DEditor() {
ERR_FAIL_NULL(RS::get_singleton());
RS::get_singleton()->free(debug_mesh_rid);
RS::get_singleton()->free(debug_handle_curve_multimesh_rid);
RS::get_singleton()->free(debug_handle_sharp_multimesh_rid);
RS::get_singleton()->free(debug_handle_smooth_multimesh_rid);
RS::get_singleton()->free(debug_handle_mesh_rid);
RS::get_singleton()->free_rid(debug_mesh_rid);
RS::get_singleton()->free_rid(debug_handle_curve_multimesh_rid);
RS::get_singleton()->free_rid(debug_handle_sharp_multimesh_rid);
RS::get_singleton()->free_rid(debug_handle_smooth_multimesh_rid);
RS::get_singleton()->free_rid(debug_handle_mesh_rid);
}
void Path2DEditorPlugin::edit(Object *p_object) {