diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-29 21:45:14 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2019-06-30 13:58:07 +0200 |
commit | 850a54a2a55f26a447967f47f99d09cfc2874b38 (patch) | |
tree | e45dd81bf8960fd263215c9436e914f72a09b159 /doc | |
parent | 26f99beac38808d0221031a41ab31325fec41be1 (diff) |
Fix uninitialized variables in Line2D, JSONParseResult and TileMap
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/JSONParseResult.xml | 2 | ||||
-rw-r--r-- | doc/classes/Line2D.xml | 2 | ||||
-rw-r--r-- | doc/classes/TileMap.xml | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/JSONParseResult.xml b/doc/classes/JSONParseResult.xml index 5d5d492439..98db123f5b 100644 --- a/doc/classes/JSONParseResult.xml +++ b/doc/classes/JSONParseResult.xml @@ -14,7 +14,7 @@ <member name="error" type="int" setter="set_error" getter="get_error" enum="Error"> The error type if the JSON source was not successfully parsed. See the [@GlobalScope] [code]ERR_*[/code] constants. </member> - <member name="error_line" type="int" setter="set_error_line" getter="get_error_line" default="116547728"> + <member name="error_line" type="int" setter="set_error_line" getter="get_error_line" default="-1"> The line number where the error occurred if JSON source was not successfully parsed. </member> <member name="error_string" type="String" setter="set_error_string" getter="get_error_string" default=""""> diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 1fdf337f4b..27d3f4bade 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -93,7 +93,7 @@ <member name="texture" type="Texture" setter="set_texture" getter="get_texture" default="null"> The texture used for the line's texture. Uses [code]texture_mode[/code] for drawing style. </member> - <member name="texture_mode" type="int" setter="set_texture_mode" getter="get_texture_mode" enum="Line2D.LineTextureMode" default="1101004800"> + <member name="texture_mode" type="int" setter="set_texture_mode" getter="get_texture_mode" enum="Line2D.LineTextureMode" default="0"> The style to render the [code]texture[/code] on the line. Use [code]LINE_TEXTURE_*[/code] constants. </member> <member name="width" type="float" setter="set_width" getter="get_width" default="10.0"> diff --git a/doc/classes/TileMap.xml b/doc/classes/TileMap.xml index ee5205efd7..55666b94b5 100644 --- a/doc/classes/TileMap.xml +++ b/doc/classes/TileMap.xml @@ -286,7 +286,7 @@ <member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" default="1"> The collision mask(s) for all colliders in the TileMap. </member> - <member name="collision_use_kinematic" type="bool" setter="set_collision_use_kinematic" getter="get_collision_use_kinematic" default="true"> + <member name="collision_use_kinematic" type="bool" setter="set_collision_use_kinematic" getter="get_collision_use_kinematic" default="false"> If [code]true[/code], TileMap collisions will be handled as a kinematic body. If [code]false[/code], collisions will be handled as static body. </member> <member name="collision_use_parent" type="bool" setter="set_collision_use_parent" getter="get_collision_use_parent" default="false"> |