Commit Graph

4189 Commits

Author SHA1 Message Date
Rémi Verschelde
945a16442c SCons: Fix Windows/MinGW TypeError with recent SCons
Fixes #86484.
2024-07-14 08:26:48 +02:00
Haoyu Qiu
b43f5d220a Add range hint for ViewportContainer.stretch_shrink 2024-07-14 08:26:25 +02:00
Aaron Franke
f7490335a4 GDNative: Fix Linux riscv warning about ignored sysv_abi 2024-07-14 08:26:01 +02:00
lawnjelly
84864fbe35 Optimize Editor _init_grid()
Use static `LocalVectors` instead of `PoolVectors` for temporaries.
2024-07-14 08:22:51 +02:00
lawnjelly
d249ee0624 ImageTexture - document workaround for mipmap generation 2024-07-14 08:16:39 +02:00
lawnjelly
c7888ff2da Mesh merging - refactor to be backward compatible for CPU / GPU storage
Allows the old `merge_meshes()` function to work from the editor.
2024-07-14 08:16:10 +02:00
lawnjelly
21f913be43 Fix physics tick counter
The counter is now incremented at the start of a physics tick rather than the end.
2024-07-14 08:12:52 +02:00
lawnjelly
131880d444 Physics Interpolation - Fix Transform2D::interpolate_with()
Ports the `interpolate_with()` routine from 4.x which works correctly with skew.
2024-07-14 08:08:05 +02:00
kleonc
e5ec234b16 Fix AtlasTexture::draw_rect flipping for non-zero margin 2024-07-14 07:52:01 +02:00
Raul Santos
06651fd32b Fix type hints in GLTFDocumentExtension virtual methods 2024-07-14 07:51:24 +02:00
Haoyu Qiu
144e69dc2c Fix TabContainer not updating content rect after toggling tab icon 2024-07-14 07:50:36 +02:00
Charlie Burnham
8eaeba938b Backport fix documentation about body_shape_index 2024-07-14 07:45:18 +02:00
Ovnuniarchos
c96a4b0317 FIXED: Locale fallback selector doesn't appear in project options. 2024-07-14 07:38:52 +02:00
59d5eedf61 Fix logic. 2024-07-14 07:37:05 +02:00
lawnjelly
1d20785663 Tilemap editor - prevent changing tool when mouse buttons pressed
Changing tool when painting prevented the corresponding commit of undo action when the mouse button was released. This led to undo actions getting out of sync and the undo system breaking the editor.

This PR simply prevents changing tool while mouse buttons are pressed, and prevents the above scenario.
2024-07-14 07:28:25 +02:00
Mikael Hermansson
bffa53c645 Allow LSP to process multiple messages per poll
(cherry-picked from commit e2485044a1b33628e6149d4f930b6fe065743c9d)
2024-07-14 07:23:38 +02:00
18335d938c Revert "Ignore a maybe-uninitialized warning in AudioStreamPlayer3D."
This reverts commit 05f19a003b.
2024-06-18 13:44:32 +02:00
0bdb0ccac8 Don't access a Message's memory after calling it's destructor in MessageQueue. (Even though the way the code works currently this was not really a bug, but it can easily become one.) 2024-06-18 10:38:58 +02:00
05f19a003b Ignore a maybe-uninitialized warning in AudioStreamPlayer3D. 2024-06-18 10:32:33 +02:00
946092e6fc Fix size mismatch warning. 2024-06-18 10:17:25 +02:00
3f996fad22 Remove unnecessary template parameters from constructors and desctuctors. 2024-06-18 10:17:14 +02:00
db1a38081b Set the status code in WebRoot::_handle_error_send_request(). 2024-05-22 07:25:16 +02:00
7476c8608c Implemented VertexLight2D management support to LayeredTileMapLayers. 2024-05-11 22:59:41 +02:00
7a4271104d VertexLight2D support for LayeredTileSetAtlasSourceEditor. 2024-05-11 21:50:55 +02:00
48c65ce89e Added VertexLight2D support to LayeredTileData. 2024-05-11 21:05:52 +02:00
b1261c65c5 Fix the type of the rotation tracks in AnimationTrackKeyEdit. 2024-05-11 20:08:33 +02:00
63fe195965 Implement debug drawing avoidance radius in LayeredTileMapLayer. 2024-05-11 19:55:48 +02:00
4a5e7894ab Only draw the radius's circle if it's bigger than 0. 2024-05-11 19:54:49 +02:00
f92fd3374b Don't error in RenderingServerRaster::free() if the supplied RID is just invalid. 2024-05-11 19:32:46 +02:00
d59353d48e Implement navigation obstacle support for LayeredTileMapLayers. 2024-05-11 19:29:43 +02:00
01342ca5fd Fix typo. 2024-05-11 17:40:21 +02:00
a138731c98 Also draw the position and radius in TileDataAvoidanceEditor. 2024-05-11 17:39:30 +02:00
36dd1dc0c3 Fix typo. 2024-05-11 16:13:53 +02:00
25ce3051b9 Editor setup for the avoidance properties. 2024-05-11 15:58:33 +02:00
ae76b04fdb Fix typo. 2024-05-11 15:57:34 +02:00
37e586ebbc Avoidance positions are now using Vector2is in LayeredTileData. 2024-05-11 13:48:35 +02:00
4f11a25ef7 Added avoidance position property to LayeredTileData. 2024-05-11 13:23:40 +02:00
8998814481 Added flip winding order tool to GenericTilePolygonEditor. 2024-05-11 13:04:57 +02:00
5a870d0972 Implemented Obstacle for LayeredTileSets. 2024-05-11 12:49:44 +02:00
3b84801274 Added a group for the toplevel property in Node2D. 2024-05-11 10:37:52 +02:00
cbbdc7b32d Fixed rao and vertex lights for newly added cells. Also fixed re-generating the tilemap cells in many cases. Also small improvements. 2024-05-10 21:50:21 +02:00
41fd5fa504 Remove duplicate call. 2024-05-10 18:09:10 +02:00
c781ca9c5f Bind _tile_set_changed in LayeredTileDataEditor. 2024-05-10 17:55:53 +02:00
62a3dcfd34 Turn autowrap on on LayeredTileSetAtlasSourceEditor's tile_inspector_no_tile_selected_label. 2024-05-10 17:52:21 +02:00
1b14af3a98 Moved the y_sort property from YSort to Node2D. Node2d has it off by default while YSort has it on by default. 2024-05-10 17:23:52 +02:00
8953d84f29 Optimize _node_route_map's usage in WebNode. 2024-05-04 16:58:03 +02:00
942e7e802f Fixed docs, index node support has been moved from WebRoots to WebNodes a while ago. 2024-05-04 16:52:49 +02:00
0c5a35e07a Actually... always defer unmatched requests to index nodes if they are available. 2024-05-04 16:42:59 +02:00
d880ff660f Added an option to defer unmathed requests to index nodes in WebNode. 2024-05-04 16:40:23 +02:00
602d8a6836 Use HashMap in BrowsableFolderServeWebPage, as the bug that was preventing this was already fixed quite a while ago. 2024-05-04 16:13:52 +02:00