diff options
| -rw-r--r-- | core/object.cpp | 2 | ||||
| -rw-r--r-- | modules/gridmap/grid_map.cpp | 4 | ||||
| -rw-r--r-- | scene/2d/path_2d.cpp | 2 | ||||
| -rw-r--r-- | scene/2d/physics_body_2d.cpp | 2 | ||||
| -rw-r--r-- | scene/3d/path.cpp | 2 | ||||
| -rw-r--r-- | scene/3d/physics_body.cpp | 2 | ||||
| -rw-r--r-- | scene/gui/graph_node.cpp | 2 | ||||
| -rw-r--r-- | scene/gui/text_edit.cpp | 2 | ||||
| -rw-r--r-- | scene/main/scene_tree.cpp | 4 | ||||
| -rw-r--r-- | scene/main/viewport.cpp | 4 | ||||
| -rw-r--r-- | scene/resources/color_ramp.cpp | 2 | ||||
| -rw-r--r-- | scene/resources/mesh_data_tool.cpp | 4 | ||||
| -rw-r--r-- | scene/resources/tile_set.cpp | 2 | ||||
| -rw-r--r-- | servers/visual_server.cpp | 4 | 
14 files changed, 19 insertions, 19 deletions
diff --git a/core/object.cpp b/core/object.cpp index 91c6013de9..6509406a21 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -1673,7 +1673,7 @@ void Object::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_script"), &Object::get_script);  	ClassDB::bind_method(D_METHOD("set_meta", "name", "value"), &Object::set_meta); -	ClassDB::bind_method(D_METHOD("get_meta", "name", "value"), &Object::get_meta); +	ClassDB::bind_method(D_METHOD("get_meta", "name"), &Object::get_meta);  	ClassDB::bind_method(D_METHOD("has_meta", "name"), &Object::has_meta);  	ClassDB::bind_method(D_METHOD("get_meta_list"), &Object::_get_meta_list_bind); diff --git a/modules/gridmap/grid_map.cpp b/modules/gridmap/grid_map.cpp index 979de32b11..f241a96e58 100644 --- a/modules/gridmap/grid_map.cpp +++ b/modules/gridmap/grid_map.cpp @@ -857,7 +857,7 @@ void GridMap::_bind_methods() {  	ClassDB::bind_method(D_METHOD("set_clip", "enabled", "clipabove", "floor", "axis"), &GridMap::set_clip, DEFVAL(true), DEFVAL(0), DEFVAL(Vector3::AXIS_X));  	ClassDB::bind_method(D_METHOD("create_area", "id", "area"), &GridMap::create_area); -	ClassDB::bind_method(D_METHOD("area_get_bounds", "area", "bounds"), &GridMap::area_get_bounds); +	ClassDB::bind_method(D_METHOD("area_get_bounds", "area"), &GridMap::area_get_bounds);  	ClassDB::bind_method(D_METHOD("area_set_exterior_portal", "area", "enable"), &GridMap::area_set_exterior_portal);  	ClassDB::bind_method(D_METHOD("area_set_name", "area", "name"), &GridMap::area_set_name);  	ClassDB::bind_method(D_METHOD("area_get_name", "area"), &GridMap::area_get_name); @@ -867,7 +867,7 @@ void GridMap::_bind_methods() {  	ClassDB::bind_method(D_METHOD("area_set_portal_disable_color", "area", "color"), &GridMap::area_set_portal_disable_color);  	ClassDB::bind_method(D_METHOD("area_get_portal_disable_color", "area"), &GridMap::area_get_portal_disable_color);  	ClassDB::bind_method(D_METHOD("erase_area", "area"), &GridMap::erase_area); -	ClassDB::bind_method(D_METHOD("get_unused_area_id", "area"), &GridMap::get_unused_area_id); +	ClassDB::bind_method(D_METHOD("get_unused_area_id"), &GridMap::get_unused_area_id);  	ClassDB::bind_method(D_METHOD("clear"), &GridMap::clear); diff --git a/scene/2d/path_2d.cpp b/scene/2d/path_2d.cpp index 35e0d66d08..6b30e97de8 100644 --- a/scene/2d/path_2d.cpp +++ b/scene/2d/path_2d.cpp @@ -83,7 +83,7 @@ Ref<Curve2D> Path2D::get_curve() const {  void Path2D::_bind_methods() {  	ClassDB::bind_method(D_METHOD("set_curve", "curve"), &Path2D::set_curve); -	ClassDB::bind_method(D_METHOD("get_curve", "curve"), &Path2D::get_curve); +	ClassDB::bind_method(D_METHOD("get_curve"), &Path2D::get_curve);  	ClassDB::bind_method(D_METHOD("_curve_changed"), &Path2D::_curve_changed);  	ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve2D"), "set_curve", "get_curve"); diff --git a/scene/2d/physics_body_2d.cpp b/scene/2d/physics_body_2d.cpp index b90ac36008..2f1e8925b8 100644 --- a/scene/2d/physics_body_2d.cpp +++ b/scene/2d/physics_body_2d.cpp @@ -1204,7 +1204,7 @@ void KinematicBody2D::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_floor_velocity"), &KinematicBody2D::get_floor_velocity);  	ClassDB::bind_method(D_METHOD("set_safe_margin", "pixels"), &KinematicBody2D::set_safe_margin); -	ClassDB::bind_method(D_METHOD("get_safe_margin", "pixels"), &KinematicBody2D::get_safe_margin); +	ClassDB::bind_method(D_METHOD("get_safe_margin"), &KinematicBody2D::get_safe_margin);  	ClassDB::bind_method(D_METHOD("get_collision_count"), &KinematicBody2D::get_collision_count);  	ClassDB::bind_method(D_METHOD("get_collision_position", "collision"), &KinematicBody2D::get_collision_position); diff --git a/scene/3d/path.cpp b/scene/3d/path.cpp index 18b5758d47..f8df21004e 100644 --- a/scene/3d/path.cpp +++ b/scene/3d/path.cpp @@ -79,7 +79,7 @@ Ref<Curve3D> Path::get_curve() const {  void Path::_bind_methods() {  	ClassDB::bind_method(D_METHOD("set_curve", "curve"), &Path::set_curve); -	ClassDB::bind_method(D_METHOD("get_curve", "curve"), &Path::get_curve); +	ClassDB::bind_method(D_METHOD("get_curve"), &Path::get_curve);  	ClassDB::bind_method(D_METHOD("_curve_changed"), &Path::_curve_changed);  	ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "curve", PROPERTY_HINT_RESOURCE_TYPE, "Curve3D"), "set_curve", "get_curve"); diff --git a/scene/3d/physics_body.cpp b/scene/3d/physics_body.cpp index 1ccca02b01..dc8f72d77e 100644 --- a/scene/3d/physics_body.cpp +++ b/scene/3d/physics_body.cpp @@ -1138,7 +1138,7 @@ void KinematicBody::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_floor_velocity"), &KinematicBody::get_floor_velocity);  	ClassDB::bind_method(D_METHOD("set_safe_margin", "pixels"), &KinematicBody::set_safe_margin); -	ClassDB::bind_method(D_METHOD("get_safe_margin", "pixels"), &KinematicBody::get_safe_margin); +	ClassDB::bind_method(D_METHOD("get_safe_margin"), &KinematicBody::get_safe_margin);  	ClassDB::bind_method(D_METHOD("get_collision_count"), &KinematicBody::get_collision_count);  	ClassDB::bind_method(D_METHOD("get_collision_position", "collision"), &KinematicBody::get_collision_position); diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp index 4f07d21f4d..b9062295b5 100644 --- a/scene/gui/graph_node.cpp +++ b/scene/gui/graph_node.cpp @@ -664,7 +664,7 @@ void GraphNode::_bind_methods() {  	ClassDB::bind_method(D_METHOD("set_slot", "idx", "enable_left", "type_left", "color_left", "enable_right", "type_right", "color_right", "custom_left", "custom_right"), &GraphNode::set_slot, DEFVAL(Ref<Texture>()), DEFVAL(Ref<Texture>()));  	ClassDB::bind_method(D_METHOD("clear_slot", "idx"), &GraphNode::clear_slot); -	ClassDB::bind_method(D_METHOD("clear_all_slots", "idx"), &GraphNode::clear_all_slots); +	ClassDB::bind_method(D_METHOD("clear_all_slots"), &GraphNode::clear_all_slots);  	ClassDB::bind_method(D_METHOD("is_slot_enabled_left", "idx"), &GraphNode::is_slot_enabled_left);  	ClassDB::bind_method(D_METHOD("get_slot_type_left", "idx"), &GraphNode::get_slot_type_left);  	ClassDB::bind_method(D_METHOD("get_slot_color_left", "idx"), &GraphNode::get_slot_color_left); diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 9bb539eb1e..1636eb1921 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -4596,7 +4596,7 @@ void TextEdit::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_selection_to_column"), &TextEdit::get_selection_to_column);  	ClassDB::bind_method(D_METHOD("get_selection_text"), &TextEdit::get_selection_text);  	ClassDB::bind_method(D_METHOD("get_word_under_cursor"), &TextEdit::get_word_under_cursor); -	ClassDB::bind_method(D_METHOD("search", "flags", "from_line", "from_column", "to_line", "to_column"), &TextEdit::_search_bind); +	ClassDB::bind_method(D_METHOD("search", "key", "flags", "from_line", "from_column"), &TextEdit::_search_bind);  	ClassDB::bind_method(D_METHOD("undo"), &TextEdit::undo);  	ClassDB::bind_method(D_METHOD("redo"), &TextEdit::redo); diff --git a/scene/main/scene_tree.cpp b/scene/main/scene_tree.cpp index a99399203a..af7dac7ec9 100644 --- a/scene/main/scene_tree.cpp +++ b/scene/main/scene_tree.cpp @@ -2234,8 +2234,8 @@ void SceneTree::_bind_methods() {  	ClassDB::bind_vararg_method(METHOD_FLAGS_DEFAULT, "call_group", &SceneTree::_call_group, mi2); -	ClassDB::bind_method(D_METHOD("notify_group", "call_flags", "group", "notification"), &SceneTree::notify_group); -	ClassDB::bind_method(D_METHOD("set_group", "call_flags", "group", "property", "value"), &SceneTree::set_group); +	ClassDB::bind_method(D_METHOD("notify_group", "group", "notification"), &SceneTree::notify_group); +	ClassDB::bind_method(D_METHOD("set_group", "group", "property", "value"), &SceneTree::set_group);  	ClassDB::bind_method(D_METHOD("get_nodes_in_group", "group"), &SceneTree::_get_nodes_in_group); diff --git a/scene/main/viewport.cpp b/scene/main/viewport.cpp index 9aec84e866..717e76c5fd 100644 --- a/scene/main/viewport.cpp +++ b/scene/main/viewport.cpp @@ -2713,10 +2713,10 @@ void Viewport::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_camera"), &Viewport::get_camera);  	ClassDB::bind_method(D_METHOD("set_as_audio_listener", "enable"), &Viewport::set_as_audio_listener); -	ClassDB::bind_method(D_METHOD("is_audio_listener", "enable"), &Viewport::is_audio_listener); +	ClassDB::bind_method(D_METHOD("is_audio_listener"), &Viewport::is_audio_listener);  	ClassDB::bind_method(D_METHOD("set_as_audio_listener_2d", "enable"), &Viewport::set_as_audio_listener_2d); -	ClassDB::bind_method(D_METHOD("is_audio_listener_2d", "enable"), &Viewport::is_audio_listener_2d); +	ClassDB::bind_method(D_METHOD("is_audio_listener_2d"), &Viewport::is_audio_listener_2d);  	ClassDB::bind_method(D_METHOD("set_attach_to_screen_rect", "rect"), &Viewport::set_attach_to_screen_rect);  	ClassDB::bind_method(D_METHOD("get_mouse_position"), &Viewport::get_mouse_position); diff --git a/scene/resources/color_ramp.cpp b/scene/resources/color_ramp.cpp index 3cf8845189..1825225abd 100644 --- a/scene/resources/color_ramp.cpp +++ b/scene/resources/color_ramp.cpp @@ -52,7 +52,7 @@ Gradient::~Gradient() {  void Gradient::_bind_methods() {  	ClassDB::bind_method(D_METHOD("add_point", "offset", "color"), &Gradient::add_point); -	ClassDB::bind_method(D_METHOD("remove_point", "offset", "color"), &Gradient::remove_point); +	ClassDB::bind_method(D_METHOD("remove_point", "offset"), &Gradient::remove_point);  	ClassDB::bind_method(D_METHOD("set_offset", "point", "offset"), &Gradient::set_offset);  	ClassDB::bind_method(D_METHOD("get_offset", "point"), &Gradient::get_offset); diff --git a/scene/resources/mesh_data_tool.cpp b/scene/resources/mesh_data_tool.cpp index 669353eb1f..f1092a90cb 100644 --- a/scene/resources/mesh_data_tool.cpp +++ b/scene/resources/mesh_data_tool.cpp @@ -560,7 +560,7 @@ void MeshDataTool::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_vertex_faces", "idx"), &MeshDataTool::get_vertex_faces);  	ClassDB::bind_method(D_METHOD("get_edge_vertex", "idx", "vertex"), &MeshDataTool::get_edge_vertex); -	ClassDB::bind_method(D_METHOD("get_edge_faces", "idx", "faces"), &MeshDataTool::get_edge_faces); +	ClassDB::bind_method(D_METHOD("get_edge_faces", "idx"), &MeshDataTool::get_edge_faces);  	ClassDB::bind_method(D_METHOD("set_edge_meta", "idx", "meta"), &MeshDataTool::set_edge_meta);  	ClassDB::bind_method(D_METHOD("get_edge_meta", "idx"), &MeshDataTool::get_edge_meta); @@ -574,7 +574,7 @@ void MeshDataTool::_bind_methods() {  	ClassDB::bind_method(D_METHOD("get_face_normal", "idx"), &MeshDataTool::get_face_normal);  	ClassDB::bind_method(D_METHOD("set_material", "material"), &MeshDataTool::set_material); -	ClassDB::bind_method(D_METHOD("get_material", "material"), &MeshDataTool::get_material); +	ClassDB::bind_method(D_METHOD("get_material"), &MeshDataTool::get_material);  }  MeshDataTool::MeshDataTool() { diff --git a/scene/resources/tile_set.cpp b/scene/resources/tile_set.cpp index ecb27008d4..44fe676ddc 100644 --- a/scene/resources/tile_set.cpp +++ b/scene/resources/tile_set.cpp @@ -550,7 +550,7 @@ void TileSet::_bind_methods() {  	ClassDB::bind_method(D_METHOD("clear"), &TileSet::clear);  	ClassDB::bind_method(D_METHOD("get_last_unused_tile_id"), &TileSet::get_last_unused_tile_id);  	ClassDB::bind_method(D_METHOD("find_tile_by_name", "name"), &TileSet::find_tile_by_name); -	ClassDB::bind_method(D_METHOD("get_tiles_ids", "name"), &TileSet::_get_tiles_ids); +	ClassDB::bind_method(D_METHOD("get_tiles_ids"), &TileSet::_get_tiles_ids);  }  TileSet::TileSet() { diff --git a/servers/visual_server.cpp b/servers/visual_server.cpp index 3e46c8bb52..65dd4d7661 100644 --- a/servers/visual_server.cpp +++ b/servers/visual_server.cpp @@ -1443,8 +1443,8 @@ void VisualServer::_bind_methods() {  	//ClassDB::bind_method(D_METHOD("texture_allocate"),&VisualServer::texture_allocate,DEFVAL( TEXTURE_FLAGS_DEFAULT ) );  	//ClassDB::bind_method(D_METHOD("texture_set_data"),&VisualServer::texture_blit_rect,DEFVAL( CUBEMAP_LEFT ) );  	//ClassDB::bind_method(D_METHOD("texture_get_rect"),&VisualServer::texture_get_rect ); -	ClassDB::bind_method(D_METHOD("texture_set_flags", "texture"), &VisualServer::texture_set_flags); -	ClassDB::bind_method(D_METHOD("texture_get_flags", "texture", "flags"), &VisualServer::texture_get_flags); +	ClassDB::bind_method(D_METHOD("texture_set_flags", "texture", "flags"), &VisualServer::texture_set_flags); +	ClassDB::bind_method(D_METHOD("texture_get_flags", "texture"), &VisualServer::texture_get_flags);  	ClassDB::bind_method(D_METHOD("texture_get_width", "texture"), &VisualServer::texture_get_width);  	ClassDB::bind_method(D_METHOD("texture_get_height", "texture"), &VisualServer::texture_get_height);  |