diff options
author | Juan Linietsky <reduzio@gmail.com> | 2016-06-01 10:33:28 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2016-06-01 10:33:28 -0300 |
commit | 33bb0491f8b1794875ee9b7c858054c86ecb872f (patch) | |
tree | dee8f9c046c46f333cf327f2e7061ab4277bb3b3 /scene | |
parent | 9b3319b70d23444f566701f47ee0fd30fe51e90d (diff) | |
parent | 21bcf4a8aa209053c1a3177877695a444e8957f4 (diff) |
Merge pull request #4952 from sanikoyes/Pr-fix-stb-font-prop
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")); } |