Commit Graph

578 Commits

Author SHA1 Message Date
0dfba6c552 Moved AudioStreamSample. 2023-12-10 15:26:43 +01:00
763f662263 Moved meshes to a new subfolder. 2023-12-10 15:22:09 +01:00
deccaed2cc Moved materials into a new subfolder. 2023-12-10 14:59:22 +01:00
08160fd63f Moved fonts into a new subfolder. 2023-12-10 14:42:30 +01:00
4cbc387c53 Moved the navigation relatred resources into subfolders. 2023-12-10 14:23:24 +01:00
2cc42b045a Moved shapes under a new shapes folder. 2023-12-10 14:10:10 +01:00
e50ab7fa84 Moved 2d shapes under a new shapes_2d folder. 2023-12-10 13:55:20 +01:00
11b8f50a82 Moved SyntaxHighlighter. 2023-12-10 13:44:52 +01:00
b34258606b Moved Animation from scene/resources to scene/animation. 2023-12-10 13:30:23 +01:00
edb250930d Small improvement to the CSplitCointainer. 2023-10-20 16:56:18 +02:00
2e7709185a Added a new CSplitContainer type which acts as both a VSplitContainer and HSplitContainer and allows changing between them using a property. 2023-10-20 15:06:23 +02:00
e6ee1f0c0f Added a new CBoxContainer type which acts as both a VBoxContainer and HBoxContainer and allows changing between them using a property. 2023-10-20 13:44:43 +02:00
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