diff options
author | volzhs <volzhs@gmail.com> | 2015-06-10 02:25:34 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2015-06-10 02:25:34 +0900 |
commit | 9bee9e7498c701f7dfbb0f68b69272143216693f (patch) | |
tree | 92f72a6a4f223ba729f9d4de1d53fc500db4a71d | |
parent | 5ffa3f4ff01352fe047cffeddc8681e71af264fc (diff) |
add bind method for create_from_fnt (load fnt made by BMFont)
-rw-r--r-- | scene/resources/font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/font.cpp b/scene/resources/font.cpp index 44fa7eadbd..2d93113b40 100644 --- a/scene/resources/font.cpp +++ b/scene/resources/font.cpp @@ -510,7 +510,7 @@ float Font::draw_char(RID p_canvas_item, const Point2& p_pos, const CharType& p_ void Font::_bind_methods() { - ObjectTypeDB::bind_method(_MD("create_from_fnt","path"),&Font::create_from_fnt); + ObjectTypeDB::bind_method(_MD("create_from_fnt","path"),&Font::create_from_fnt); ObjectTypeDB::bind_method(_MD("set_height","px"),&Font::set_height); ObjectTypeDB::bind_method(_MD("get_height"),&Font::get_height); |