You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Rename Polygon2D.invert_enable to end with "d"
Polygon2D.`invert_enable` -> `invert_enabled` Also affects the setters and getters, which are now named in full instead of cutting "enabled" off. Updates old leftover documentation slightly, as well.
This commit is contained in:
@@ -1008,6 +1008,7 @@ static const char *gdscript_properties_renames[][2] = {
|
||||
{ "gravity_vec", "gravity_direction" }, // Area2D
|
||||
{ "hseparation", "h_separation" }, // Theme
|
||||
{ "iterations_per_second", "physics_ticks_per_second" }, // Engine
|
||||
{ "invert_enable", "invert_enabled" }, // Polygon2D
|
||||
{ "margin_bottom", "offset_bottom" }, // Control broke NinePatchRect, StyleBox
|
||||
{ "margin_left", "offset_left" }, // Control broke NinePatchRect, StyleBox
|
||||
{ "margin_right", "offset_right" }, // Control broke NinePatchRect, StyleBox
|
||||
@@ -1089,6 +1090,7 @@ static const char *csharp_properties_renames[][2] = {
|
||||
{ "GravityVec", "GravityDirection" }, // Area2D
|
||||
{ "Hseparation", "HSeparation" }, // Theme
|
||||
{ "IterationsPerSecond", "PhysicsTicksPerSecond" }, // Engine
|
||||
{ "InvertEnable", "InvertEnabled" }, // Polygon2D
|
||||
{ "MarginBottom", "OffsetBottom" }, // Control broke NinePatchRect, StyleBox
|
||||
{ "MarginLeft", "OffsetLeft" }, // Control broke NinePatchRect, StyleBox
|
||||
{ "MarginRight", "OffsetRight" }, // Control broke NinePatchRect, StyleBox
|
||||
|
||||
Reference in New Issue
Block a user