diff options
-rw-r--r-- | core/bind/core_bind.cpp | 2 | ||||
-rw-r--r-- | doc/base/classes.xml | 27 |
2 files changed, 12 insertions, 17 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index 6edc292b62..9df31124f8 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1802,7 +1802,7 @@ void _File::_bind_methods() { ObjectTypeDB::bind_method(_MD("get_line"),&_File::get_line); ObjectTypeDB::bind_method(_MD("get_as_text"),&_File::get_as_text); ObjectTypeDB::bind_method(_MD("get_md5","path"),&_File::get_md5); - ObjectTypeDB::bind_method(_MD("get_sha256","path"),&_File::get_md5); + ObjectTypeDB::bind_method(_MD("get_sha256","path"),&_File::get_sha256); ObjectTypeDB::bind_method(_MD("get_endian_swap"),&_File::get_endian_swap); ObjectTypeDB::bind_method(_MD("set_endian_swap","enable"),&_File::set_endian_swap); ObjectTypeDB::bind_method(_MD("get_error:Error"),&_File::get_error); diff --git a/doc/base/classes.xml b/doc/base/classes.xml index ae5438c430..ac164dddc7 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -7270,6 +7270,17 @@ Takes a global input event and convert to this item's coordinate system. </description> </method> + <method name="make_screen_coord_local" qualifiers="const"> + <return type="Vector2"> + </return> + <argument index="0" name="screen_point" type="Vector2"> + </argument> + <description> + Take a 2d screen point and convert to 2D local coords relative to this Canvas + item. If this CanvasItem is the root of a Scene, its essentially the + world coords for that scene. + </description> + </method> <method name="set_as_toplevel"> <argument index="0" name="enable" type="bool"> </argument> @@ -7339,22 +7350,6 @@ </description> </method> <method name="update"> - <method name="make_screen_coord_local" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="screen_point" type="Vector2"> - </argument> - <description> - Take a 2d screen point and convert to 2D local coords relative to this Canvas - item. If this CanvasItem is the root of a Scene, its essentially the - world coords for that scene. - </description> - </method> - <method name="make_input_local" qualifiers="const"> - <return type="InputEvent"> - </return> - <argument index="0" name="event" type="InputEvent"> - </argument> <description> Queue the CanvasItem for update. [code]NOTIFICATION_DRAW[/code] will be called on idle time to request redraw. </description> |