From 64b4253dbfe3fdfc4efa405086d23765a9774d91 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 13 Jun 2016 22:12:56 -0300 Subject: [PATCH] changed visual server free() to free_rid() like in the other servers. Fixes #4917 --- servers/visual_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 570a5a6ee44..fafc09f5542 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -560,7 +560,7 @@ void VisualServer::_bind_methods() { ObjectTypeDB::bind_method(_MD("draw"),&VisualServer::draw); ObjectTypeDB::bind_method(_MD("sync"),&VisualServer::sync); - ObjectTypeDB::bind_method(_MD("free"),&VisualServer::free); + ObjectTypeDB::bind_method(_MD("free_rid"),&VisualServer::free); ObjectTypeDB::bind_method(_MD("set_default_clear_color"),&VisualServer::set_default_clear_color);