b4692f1763
Port4ed from godot: Add binary MO translation file support. Add brotli decoder and WOFF2 support.
...
Use smaller .mo files instead of .po, if gettext is available.
Convert editor fonts to .woff2 format.
- bruvzg
fd2fba7c2c
2023-10-02 21:12:03 +02:00
59ae5c4662
Ported from godot: add support for 3 dir shadow splits
...
- Ansraer
54bc6a300e
2023-10-02 18:12:54 +02:00
cc012d3f92
Ported from godot: CPUParticles2D - Add ability to follow physics interpolated target
...
Allows a non-interpolated particle system to closely follow an interpolated target without tracking ahead of the target, by performing fixed timestep interpolation on the particle system global transform, and using this for emission.
- lawnjelly
3e19cf834a
2023-10-02 17:49:41 +02:00
f4339d2a49
Ported: CPUParticles2D - fix interpolated transforms and culling
...
1) Physics interpolated particles in global mode are specified in global space. In VisualServer they should therefore ignore local transform.
2) Additionally, the expected final_transform should be passed on to children, rather than the identity transform used on the local item.
3) Local bounds in hierarchical culling are fixed for items using identity transform, by calculating their local bound in local space from the global space particles.
- lawnjelly
723632a76a
2023-10-02 17:32:07 +02:00
a4b475b6b4
Fix compile error.
2023-10-02 17:28:21 +02:00
Haoyu Qiu
e3dd88e9ec
Fix PopupMenu icon and text not having separation
2023-10-02 16:56:58 +02:00
lawnjelly
994ae99f62
Physics Interpolation - automatic resets for Camera2D and TileMap.
...
Extra reset required for Camera2D. TileMaps require resetting by quadrant.
2023-10-02 16:50:50 +02:00
lawnjelly
a09c3891db
CPUParticles - fix non-interpolated NOTIFICATION_TRANSFORM
...
Updates global particle transforms immediately on receiving notification, to match legacy behaviour.
2023-10-02 16:47:45 +02:00
MJacred
519d0647fd
Fix cursor after last character in line counting as a character outside of the viewing area
...
The cursor column can be after the last_visible_char index and still be visible.
2023-10-02 16:40:26 +02:00
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