diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2021-02-19 13:35:31 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2021-02-19 14:39:14 +0100 |
commit | 0d1d7191781b1f0e0517ba8eb3b134320de72ca8 (patch) | |
tree | 186a6e9f0cc2a86382257337ac6d88a1fe5b078c /servers/text_server.cpp | |
parent | 04cb7e638cc8e8a0299a15b4d8d65e31fbfffaa9 (diff) | |
download | redot-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.cpp | 2 |
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); |