43c11fcdf5
Backported from godot4: Fix typo and ensure backwards compatibility for changed property names
...
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
- DarkKilauea, akien-mga
0572346985
2023-09-05 09:13:54 +02:00
54acfac5e2
Backported from godot4: NavigationAgent2D, NavigationAgent3D typo fixes
...
Fixed minor spelling errors in the NavigationAgent2D and NavigationAgent3D classes.
- JustinDodemaide
29a228595c
2023-09-05 08:16:03 +02:00
1e5f9895e7
Backported from godot4: Remove SceneTree debug avoidance hint
...
Removes SceneTree debug avoidance hint.
- smix8
f1d8ddd9bd
2023-09-04 21:43:06 +02:00
a222159442
Backported from godot4: Add NavigationServer API to enable regions and links
...
Adds NavigationServer API to enable regions and links.
- smix8
69fad39cf5
2023-09-04 20:22:28 +02:00
b37e0e6a4e
Backported from godot4: Update navigation obstacle API
...
Updates navigation obstacle API.
- smix8
c1fc331b88
2023-09-04 19:55:32 +02:00
aeb4d3fbe2
Backported from godot4: Add agent pause mode to NavigationServer
...
Adds agent pause mode to NavigationServer.
- smix8
https://github.com/godotengine/godot/commit/ae9dd47d0c1c237d0733439862aa5ff651dcac2
2023-09-04 19:04:29 +02:00
2f036edcc5
Backported from godot4: Fix cell_height for navigation meshes
...
Fixes `cell_height` for navigation meshes.
- smix8
180a5cded1
2023-09-04 18:34:15 +02:00
c326722a65
Backported from godot4: Allow negative NavigationAgent2D path debug line_width for thin lines
...
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.
- smix8
f6a10c0565
2023-09-04 18:03:12 +02:00
493af67f7a
Backported from godot4: Add detail to NavigationAgent signal descriptions
...
Adds detail to NavigationAgent signal descriptions.
- smix8
99e70ab6ef
2023-09-04 17:55:11 +02:00
8485b37515
Ported from godot4: Fix Navigation API abbreviations inconsistency
...
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
b4dbd26415
Backported from godot4: Expose NavigationAgent path postprocessing and pathfinding algorithm options
...
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object.
- smix8
6e324bb341
2023-09-03 10:12:41 +02:00
a516cf2e1b
Backported from godot4: Tweak NavigationAgent3D defaults
...
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
- smix8
8be4af38e4
2023-09-03 09:43:32 +02:00
9fd4b941e2
Backported from godot4: Unbind NavigationServer3D.process()
...
Unbinds NavigationServer3D.process().
- smix8
f1026450bf
2023-09-03 09:26:48 +02:00
935ed3c807
Backported from godot4: Tweak NavigationAgent2D defaults
...
Tweaks default values for NavigationAgent2D to work better out of the box within a new 2D project using default resolution.
- smix8
594ffd2200
2023-09-03 09:14:50 +02:00
6ff5c5f7f3
Added missing doc for NavigationPolygon's cell_size.
2023-09-02 14:01:54 +02:00
e6e30d2f27
Backported from godot4: Disable NavigationMesh edge_max_length property by default
...
Disables NavigationMesh edge_max_length property by default.
- smix8
c63125c317
2023-09-02 13:46:13 +02:00
697d4a32fc
Backported from godot4: Change 2D navigation ProjectSettings from integers to floats
...
Changes 2D navigation ProjectSettings from integers to floats.
- smix8
2852fb43f7
2023-09-02 13:38:20 +02:00
76488d4381
Also add docs for the newly bound methods.
2023-09-02 12:26:15 +02:00
eb8943a4f6
Backported from godot4: Add Path2D/3D debug options
...
- smix8
e12e239ab4
2023-09-02 11:38:01 +02:00
5d93975c8d
Ported: Fix custom res caching sub-res even if no-cache
...
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
Hugo Locurcio
7a49ea5bda
Document the database for Input.get_joy_name()
and Input.get_joy_guid()
...
(cherry picked from commit 922d2b7034fb1655f489fce502a3eb5eadf801f2)
2023-08-30 11:03:43 +02:00
stmSi
ec6ed1f398
Added note to used set_deferred while setting scroll values in _ready function.
...
(cherry picked from commit 83626ab90db2dee1152d3e147e44aac658b92067)
2023-08-30 10:58:44 +02:00
Ninni Pipping
971ae4eb5d
Add information about how Engine.time_scale
affects Timers
...
(cherry picked from commit 16a1465380df708edebffc53c77011cd771f6b91)
2023-08-30 10:53:33 +02:00
Hugo Locurcio
e3c9959aa6
Document custom mouse cursors larger than 128×128 potentially having issues
...
(cherry picked from commit 92730fb07dbeb7e3640d0bed60c9b9033bc30577)
2023-08-30 10:53:03 +02:00
86c9343349
Updated the links in the docs.
2023-08-29 22:33:15 +02:00
889cba3244
Added back missing descriptions to Translation's class docs.
2023-08-29 22:17:16 +02:00
65d4c57233
Added translate_to() method to TranslationServer, and trt() method to Object. This let's you transalte strings into specific (noon app wide) locales.
2023-08-29 22:02:31 +02:00
17fa82ac02
Ported: Add debug_canvas_item_get_local_bound() function to VisualServer
...
Useful for debugging hierarchical culling.
- lawnjelly
61e41cc9a1
2023-08-27 19:00:01 +02:00
d977ed360e
Ported: 2D Fixed Timestep Interpolation
...
Adds support to canvas items and Camera2D.
- lawnjelly
5162efbfe9
2023-08-27 18:48:25 +02:00
Luke Hubmayer-Werner
f80e276363
PulseAudio: Remove get_latency() caching
2023-08-27 12:14:00 +02:00
puzzud
21d78d77f6
Prevent double input events on gamepad when running through steam input #79706
...
Co-authored-by: Eoin O'Neill <eoinoneill1991@gmail.com>
2023-08-27 11:47:35 +02:00
Marcin Nowak
4b76c7e89c
Backport implement loading DDS textures at run-time
2023-08-27 11:31:12 +02:00
8ed3b41865
Re-extracted class docs.
2023-08-26 22:41:21 +02:00
3244eab5c5
Fix docs for the write lock part of the RWLock, as it's not re-entrant.
2023-07-06 21:46:45 +02:00
bbbcfacd84
Re-extracted class docs.
2023-07-06 21:17:58 +02:00
be022b610f
Bind RWLock, so it's accessible to scripts.
2023-07-06 21:17:13 +02:00
5b869f8b54
Ported from godot: Canvas item hierarchical culling
...
Adds optional hierarchical culling to the 2D rendering (within VisualServer).
Each canvas item maintains a bound in local space of the item itself and all child / grandchild items. This allows branches to be culled at once when they don't intersect a viewport.
- lawnjelly
b777a9e5f9
2023-06-28 20:25:48 +02:00
75ceb22100
Revert "Add option in VisibilityEnabler2D to hide the parent for better performance"
...
This reverts commit ad6e504a5b
.
2023-06-28 19:00:29 +02:00
ee54ca3808
Ported from godot: Input - fix just pressed and released with short presses
...
Previously if an action was both pressed and released on the same tick or frame, `is_action_just_pressed()` would return false, resulting in missed input.
This PR separately the timestamp for pressing and releasing so each can be tested independently.
- lawnjelly
63d208d1b0
2023-06-28 12:48:36 +02:00
83468ef10b
Added missing descriptions to Input's class docs from godot.
2023-06-28 12:39:36 +02:00
Ninni Pipping
e492213868
Add example for NodePath
to grandparent
2023-06-28 12:23:49 +02:00
Ninni Pipping
c25ea39a3b
Clarify String.get_slice
behavior
...
Clarify that the function returns the whole string if there is no
instances of the delimiter in the string.
2023-06-28 12:23:28 +02:00
Patrick
78bc0eeb97
Backport VideoLooping and fix for initial black frame
2023-06-28 12:22:49 +02:00
1a5cba555c
Backported godot4 PR: Support threads in the script debugger
...
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.
This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
- reduz
PR 76582
Will be available here after it's merged:
6b176671c4
2023-06-14 14:43:55 +02:00
4b9989b553
Committing small change on test docs re-extraction.
2023-06-13 18:20:18 +02:00
fe56b4c6b5
Fixed up the remaining newly extracted class doc xmls.
2023-06-13 18:19:02 +02:00
24df83cd32
Added more newly extracted class docs.
2023-06-13 17:55:03 +02:00
8d679355df
Re-extracted class docs pt3.
2023-06-13 17:34:41 +02:00
a7f1f3356c
Re-extracted class docs pt2.
2023-06-13 16:51:37 +02:00
ee6f207b0d
Re-extracted class docs pt1.
2023-06-13 15:22:43 +02:00