summaryrefslogtreecommitdiffstats
path: root/servers/text_server.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-02-19 13:35:31 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-02-19 14:39:14 +0100
commit0d1d7191781b1f0e0517ba8eb3b134320de72ca8 (patch)
tree186a6e9f0cc2a86382257337ac6d88a1fe5b078c /servers/text_server.cpp
parent04cb7e638cc8e8a0299a15b4d8d65e31fbfffaa9 (diff)
downloadredot-engine-0d1d7191781b1f0e0517ba8eb3b134320de72ca8.tar.gz
doc: Sync classref with current source
And fix various bogus bindings following previous PRs.
Diffstat (limited to 'servers/text_server.cpp')
-rw-r--r--servers/text_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/text_server.cpp b/servers/text_server.cpp
index 755a17f86a..27fdd090f1 100644
--- a/servers/text_server.cpp
+++ b/servers/text_server.cpp
@@ -290,7 +290,7 @@ void TextServer::_bind_methods() {
ClassDB::bind_method(D_METHOD("create_shaped_text", "direction", "orientation"), &TextServer::create_shaped_text, DEFVAL(DIRECTION_AUTO), DEFVAL(ORIENTATION_HORIZONTAL));
- ClassDB::bind_method(D_METHOD("shaped_text_clear"), &TextServer::shaped_text_clear);
+ ClassDB::bind_method(D_METHOD("shaped_text_clear", "rid"), &TextServer::shaped_text_clear);
ClassDB::bind_method(D_METHOD("shaped_text_set_direction", "shaped", "direction"), &TextServer::shaped_text_set_direction, DEFVAL(DIRECTION_AUTO));
ClassDB::bind_method(D_METHOD("shaped_text_get_direction", "shaped"), &TextServer::shaped_text_get_direction);