summaryrefslogtreecommitdiffstats
path: root/doc/classes/Polygon2D.xml
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-03 13:03:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-03 13:03:05 +0200
commite1e3fcc908b622b7ee63cc31ddfc2d385e9e8fd8 (patch)
treea23444d39b5a25f241219ed8040787f99239ea89 /doc/classes/Polygon2D.xml
parenta25e52fb72dbf86e2af1787704ce6041e7b86799 (diff)
downloadredot-engine-e1e3fcc908b622b7ee63cc31ddfc2d385e9e8fd8.tar.gz
doc: Fix DocData.merge_from copying old setters and getters
This is not necessary and means that some setters and getters can end up wrong if they are changed in the bindings but DocData does not update them when running --doctool. Fixes #29425. Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
Diffstat (limited to 'doc/classes/Polygon2D.xml')
-rw-r--r--doc/classes/Polygon2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Polygon2D.xml b/doc/classes/Polygon2D.xml
index 7098f5f071..8f434e5499 100644
--- a/doc/classes/Polygon2D.xml
+++ b/doc/classes/Polygon2D.xml
@@ -109,7 +109,7 @@
<member name="texture_offset" type="Vector2" setter="set_texture_offset" getter="get_texture_offset">
Amount to offset the polygon's [code]texture[/code]. If [code](0, 0)[/code] the texture's origin (its top-left corner) will be placed at the polygon's [code]position[/code].
</member>
- <member name="texture_rotation" type="float" setter="set_texture_rotation_degrees" getter="get_texture_rotation_degrees">
+ <member name="texture_rotation" type="float" setter="set_texture_rotation" getter="get_texture_rotation">
The texture's rotation in radians.
</member>
<member name="texture_rotation_degrees" type="float" setter="set_texture_rotation_degrees" getter="get_texture_rotation_degrees">