diff options
author | sanikoyes <sanikoyes@163.com> | 2016-05-31 21:23:51 +0800 |
---|---|---|
committer | sanikoyes <sanikoyes@163.com> | 2016-05-31 21:23:51 +0800 |
commit | 21bcf4a8aa209053c1a3177877695a444e8957f4 (patch) | |
tree | 59cfd54ea41a2fe071339d0995e6cf17ea7ceaf6 /scene | |
parent | fbef1ff253e79217e55b712767ae8f50050d7ed3 (diff) |
fix stb font property names
Diffstat (limited to 'scene')
-rw-r--r-- | scene/resources/dynamic_font_stb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/dynamic_font_stb.cpp b/scene/resources/dynamic_font_stb.cpp index 344043fcdd..0b9f95da4f 100644 --- a/scene/resources/dynamic_font_stb.cpp +++ b/scene/resources/dynamic_font_stb.cpp @@ -384,8 +384,8 @@ void DynamicFont::_bind_methods() { ObjectTypeDB::bind_method(_MD("set_size","data"),&DynamicFont::set_size); ObjectTypeDB::bind_method(_MD("get_size"),&DynamicFont::get_size); - ADD_PROPERTY(PropertyInfo(Variant::INT,"size"),_SCS("set_size"),_SCS("get_size")); - ADD_PROPERTY(PropertyInfo(Variant::OBJECT,"font",PROPERTY_HINT_RESOURCE_TYPE,"DynamicFontData"),_SCS("set_font_data"),_SCS("get_font_data")); + ADD_PROPERTY(PropertyInfo(Variant::INT,"font/size"),_SCS("set_size"),_SCS("get_size")); + ADD_PROPERTY(PropertyInfo(Variant::OBJECT,"font/font",PROPERTY_HINT_RESOURCE_TYPE,"DynamicFontData"),_SCS("set_font_data"),_SCS("get_font_data")); } |