A Thousand Ships
3f6fdafd41
Make TextureButton
and Button
update on texture change
2023-10-02 16:32:02 +02:00
Haoyu Qiu
30376f7079
Fix TouchScreenButton not redrawn when texture changes
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-02 16:23:16 +02:00
4b4e508dab
Moved the toplevel property from CanvasItem to Node2D, as it can cause issues with Popups.
2023-09-27 01:15:38 +02:00
840e36c341
Only update the RenderingServer from the Main Thread while in debug break.
2023-09-10 22:49:21 +02:00
36f9e5186b
Removed the prefix from the Input property group in Control.
2023-09-09 09:22:04 +02:00
cf2e53ebc3
Also remove now unnecessary if.
2023-09-09 04:01:26 +02:00
f592c170d1
Go back to using no context Nodes directly to save on lookup, as Nodes shouldn't be deleted like this.
2023-09-09 04:00:47 +02:00
93f4077e73
Stop processing no context node inputs when the input gets handled. Also use ObjectIDs in case Nodes get deleted.
2023-09-09 03:41:19 +02:00
a7cf92860a
Fixed the editor's code editor handling some shortcut events twice.
2023-09-09 02:21:35 +02:00
e3998417e7
Fix shortcut input handling in BaseButton.
2023-09-07 14:11:17 +02:00
ccb6074ca9
Backported the editor constrol changes for the new shortcut system from godot4.
2023-09-07 13:41:05 +02:00
4637f73099
Backported the shortcut context system from godot4.
2023-09-07 12:57:34 +02:00
9a2bf73280
Backported _shortcut_input() virtual from godot4.
2023-09-07 09:56:16 +02:00
66e080d766
Fix typo.
2023-09-07 07:55:48 +02:00
7fcc653a0e
Backported the CallInputType parameter for SceneTree::_call_input_pause() from godot4.
2023-09-07 07:40:45 +02:00
5121b0d56b
Added Toplevel property to CanvasItem. Also removed 2 extremely old compatibility methods.
2023-09-06 20:02:14 +02:00
da0caaad15
Set input as handled when processing shortcuts in BaseButton.
...
This fixes the issue when the script editor tab is active and the scene tree editor is focused, a ctrl+a press both opens the new Node popup and selects all text in the script editor.
Doesn't seem to have negative side effects so far.
2023-09-06 15:11:33 +02:00
e7fe643ce5
Prefix messages with their thread id if they aren't coming from the main thread in the editor log.
2023-09-06 14:19:28 +02:00
deb5c49700
Backported the new output window from godot4.
2023-09-06 13:08:24 +02:00
6be43d2ec6
Backported SceneTree::get_first_node_in_group() from godot4.
2023-09-06 08:54:55 +02:00
8880722565
Removed cell height getters and setters from the Navigation2DServer.
2023-09-05 11:57:34 +02:00
11d47d8fdc
Simplifications to NavigationAgent and NavigationAgent2D.
2023-09-05 11:54:49 +02:00
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
6f3b1fac57
Simplify some logic in NavigationAgent2D.
2023-09-05 09:01:44 +02:00
397a9e9bcd
Backported from godot4: Fix NavigationAgent continues avoidance velocity
...
Fixes NavigationAgent continues avoidance velocity.
- smix8
c912df9d05
2023-09-05 08:01:57 +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
7b52f0200e
Backported from godot4: Fix NavigationObstacle2D debug position
...
Fixes NavigationObstacle2D debug position.
- smix8
2512157294
2023-09-04 21:21:56 +02:00
7001325758
Backported form godot4: Add NavigationRegion function to change navigation map
...
Adds NavigationRegion function to change navigation map.
- smix8
84647ab09e
2023-09-04 21:17:49 +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
e2fd645a42
Ported from godot4: Fix NavigationAgent position not always updating
...
Fixes NavigationAgent position not always updating.
- smix8
34bc410fb4
2023-09-04 17:38:32 +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
568b2541b8
Backported from godot4: Fix NavigationAgent3D debug path duplicated points
...
Fixes duplicated points in NavigationAgent3D debug path.
- smix8
0b8798a995
2023-09-04 16:35:59 +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
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
d2e7ced27b
Backported from godot4: Fix NavigationRegion3D debug mesh rendering twice in Editor
...
Fixes double rendering of NavigationRegion3D debug mesh due to both 3DGizmo and runtime debug rendering the mesh at the same time.
- smix8
0e4c31ce57
2023-09-03 08:45:25 +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
d5499c69ba
Backported from godot4: Fix crash in 'NavigationAgent3D', fixes #78910
...
- Scony
fcbb521392
2023-09-02 13:28:16 +02:00
62c5bfbc36
Backported from godot4: Remove legacy navigation debug materials
...
Removes legacy navigation debug materials.
- smix8
1b506cd49c
2023-09-02 13:18:16 +02:00
09af276838
Backported from godot4: Add NavigationPolygon cell_size property
...
- smix8
9c8626bfd8
2023-09-02 13:12:46 +02:00
8467cf9e94
Backported from godot4: Keep NavigationServer active while SceneTree is paused.
...
- smix8
4b0dee080e
2023-09-02 12:57:35 +02:00
d1d8f8505e
Backported from godot4: Strip name prefix of navigation agent debug properties in the inspector.
...
- timothyqiu
65223e98de
2023-09-02 12:56:02 +02:00
2dc300a0fc
Backported from godot4: Stops NavigationAgents moving to the world origin without anyone telling them to do so.
...
-smix8
860379fc16
2023-09-02 12:47:13 +02:00
61bf4df2f4
Fix NavigationObstacle2D::set_navigation.
2023-09-02 12:31:55 +02:00
4b3a27f415
Bind get_navigation_map and set_navigation_map in NavigationObstacle2D.
2023-09-02 12:22:27 +02:00