Explorar o código

Merge branch 'create_from_fnt'

volzhs %!s(int64=10) %!d(string=hai) anos
pai
achega
43d5d42039
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      scene/resources/font.cpp

+ 1 - 0
scene/resources/font.cpp

@@ -510,6 +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("set_height","px"),&Font::set_height);
 	ObjectTypeDB::bind_method(_MD("get_height"),&Font::get_height);