Commit graph

33425 commits

Author SHA1 Message Date
Rémi Verschelde
5d9c7eaef9
Merge pull request #56801 from Riordan-DC/compound-collision-fix 2022-05-19 12:28:36 +02:00
Rémi Verschelde
78a9d21da3
Merge pull request #61185 from okla/3.x 2022-05-19 12:02:14 +02:00
Rémi Verschelde
6f6c5b79e3
Merge pull request #61181 from akien-mga/3.x-fix-PopupMenu-regression 2022-05-19 11:55:00 +02:00
Sergey Pershenkov
46ab2512b8 Return -1 from get_selected_id() when not selected
Partial cherry pick from 3b146c5eaa
2022-05-19 12:42:54 +03:00
Riordan
941a440996 Added recovery vector to shape position before bullet penetration detection to prevent recovery vector from adding repeat penetration responses. 2022-05-19 10:47:40 +02:00
Rémi Verschelde
b7523a953f Revert invalid PopupMenu breaking change from #61102
Fixes #61179.
2022-05-19 10:02:02 +02:00
Rémi Verschelde
fae9f38f17
Merge pull request #61141 from timothyqiu/property-extract-3.x 2022-05-19 09:24:34 +02:00
Haoyu Qiu
b657d0c76c Add dedicated macros for property name extraction
* Replace case-by-case extraction with PNAME & GNAME
* Fix group handling when group hint begins with property name
* Exclude properties that are PROPERTY_USAGE_NOEDITOR
2022-05-19 11:31:35 +08:00
Rémi Verschelde
d8650fb182
Merge pull request #61171 from clayjohn/Dof-tonemap-bugs
Fixed recent DoF and tonemap bugs
2022-05-18 22:48:45 +02:00
clayjohn
3374bae953 Fixed Bug where DoF incorrectly wrote to alpha channel amd bug with tonemap shaders 2022-05-18 13:19:42 -07:00
Rémi Verschelde
b0a2b34d48
Merge pull request #61150 from smix8/navigation_region2d_update_navpoly_3.x 2022-05-18 14:36:55 +02:00
Rémi Verschelde
894088203d
Merge pull request #61145 from Chaosus/graph_edit_delete_nodes_param_3.x 2022-05-18 14:10:15 +02:00
smix8
37530b0871 Update NavigationPolygonInstance when polygons of NavigationPolygon change
Updates NavigationPolygonInstance polygons on the NavigationServer2D when the NavigationPolygon Resource emits its changed signal due to e.g. polygons altered by script.
2022-05-18 13:53:46 +02:00
Rémi Verschelde
f33899d5bf pcre2: Fix support for macOS < 11.0 by making JIT conditional at runtime
(cherry picked from commit 24a06a6d4a)
2022-05-18 11:57:15 +02:00
Yuri Rubinsky
32b9818965 Add node list param to GraphEdit::delete_nodes_request signal 2022-05-18 12:36:00 +03:00
Rémi Verschelde
e86d840d4f i18n: Sync classref translations with Weblate 2022-05-17 23:43:41 +02:00
Rémi Verschelde
caeae1f949 i18n: Sync editor translations with Weblate 2022-05-17 23:41:31 +02:00
Rémi Verschelde
393c09cae8 xatlas: Sync with upstream 16ace528a
Just cleaning up unused but set variables.

16ace528ac
(cherry picked from commit 10c99d7b41)
2022-05-17 23:36:21 +02:00
Rémi Verschelde
6be616bd16 Recast: Update to upstream commit 5a870d4 (2022)
(cherry picked from commit 4635f24322)
2022-05-17 23:35:49 +02:00
Rémi Verschelde
723a65dd75 certs: Sync with Mozilla bundle as of Mar 31, 2022
39c6ac0550
(cherry picked from commit be6db612a1)
2022-05-17 23:29:05 +02:00
Rémi Verschelde
a5ee5011ca pcre2: Update to upstream version 10.40
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.40/ChangeLog
(cherry picked from commit fd6eb2c2d2)
2022-05-17 23:28:45 +02:00
Hugo Locurcio
8d813c4511 Hide the first --print-fps outputs after the engine has started
The first 2 or 3 prints are inaccurate since the engine has just
started at that point.

(cherry picked from commit 2d56dfb746)
2022-05-17 23:28:32 +02:00
Rémi Verschelde
0f3aff2d77
Merge pull request #61131 from akien-mga/3.x-freetype-2.12.1 2022-05-17 23:15:21 +02:00
Rémi Verschelde
0de455cdf7
Merge pull request #61121 from akien-mga/nanosvg-20220509 2022-05-17 23:15:14 +02:00
bruvzg
98c7db745b FreeType: Update to version 2.12.1
(cherry picked from commit 93fba7ead3)
2022-05-17 22:28:10 +02:00
Rémi Verschelde
8e12c755d1 nanosvg: Sync with upstream 4c8f013 2022-05-17 22:17:54 +02:00
Rémi Verschelde
abeb84ad33
Merge pull request #61117 from vnen/gdscript-builtin-method-info-release 2022-05-17 17:05:54 +02:00
Rémi Verschelde
c9dda2e3ca
Merge pull request #61105 from akien-mga/bullet-3.24 2022-05-17 16:19:33 +02:00
George Marques
3a8f2dda01
GDScript: Keep builtin method info on release builds
This is so type inference still works properly after exporting the
project.
2022-05-17 11:01:12 -03:00
Rémi Verschelde
8ba46d8307
Merge pull request #60879 from timothyqiu/drop-onready-3.x
[3.x] Create onready variables when dropping nodes and holding Ctrl
2022-05-17 13:59:30 +02:00
Rémi Verschelde
7515b47e8e bullet: Sync with upstream 3.24
Remove upstreamed patch.
2022-05-17 11:45:52 +02:00
Haoyu Qiu
b611b4cddc Create onready variables when dropping nodes and holding Ctrl 2022-05-17 11:52:17 +08:00
Rémi Verschelde
4a96db7196 Bump version to 3.5-rc 2022-05-16 23:56:48 +02:00
Rémi Verschelde
281c5c9a56
Merge pull request #61102 from okla/3.x
[3.x] Make various improvements to OptionButton
2022-05-16 23:51:55 +02:00
Rémi Verschelde
b62ed1f005
Merge pull request #61093 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.5) - 21st batch
2022-05-16 22:15:07 +02:00
Sergey Pershenkov
431c032d8c Make various improvements to OptionButton
- Allow OptionButton selection to be set to -1 to signify no selection, both via API and in the editor.
- Reset OptionButton selection to -1 when the selected item has been removed.
- Fully convert PopupMenu to a zero-based ID system, which improves an inconsistency in generated IDs when making new items in the editor.

(cherry picked from commit 3b146c5eaa)
2022-05-16 22:47:46 +03:00
kobewi
16fb788853 Clarify seek() in relation to animation_finished
(cherry picked from commit 74e135c90b)
2022-05-16 21:13:24 +02:00
Haoyu Qiu
96b1b1991b Fix AnimatedSprite doesn't emit animation_finished when changing playback direction
(cherry picked from commit d5f5e96e11)
2022-05-16 21:12:21 +02:00
Hugo Locurcio
d9acd21b46 Display a modal dialog if threads are unavailable in the web editor
Threads are required for the web editor to function. If the web server
is not correctly configured, threads won't be available.

This makes troubleshooting easier for people looking to self-host
the web editor.

(cherry picked from commit 304a286502)
2022-05-16 21:12:21 +02:00
dzil123
ddd392a93f fix gridmap cursor showing the wrong mesh
(cherry picked from commit 726614ff4b)
2022-05-16 21:12:21 +02:00
Markus Sauermann
ff52becb47 Distribute remaining pixel to expanding childs of GridContainer
(cherry picked from commit 6b3207644b)
2022-05-16 21:12:21 +02:00
Hugo Locurcio
5b19a5d4a8 Improve documentation for Camera3D.project_ray_{normal,origin}
This mentions that internally, the inverse camera projection is used
to perform projections.

(cherry picked from commit fbec10179a)
2022-05-16 21:12:21 +02:00
FireForge
5968dbd747 Expose EditorSpinSlider.hide_slider
(cherry picked from commit 8e752b06e8)
2022-05-16 21:12:21 +02:00
Hugo Locurcio
e19f8fcbdc Improve error messages when creating Images from code
The rationale behind the expected number of bytes is now displayed
in clear (width, height, format, number of mipmaps expected if any).

(cherry picked from commit 18e9e6a81a)
2022-05-16 21:12:21 +02:00
FireForge
67e6fc8e43 Fix Theme type group naming in the inspector
(cherry picked from commit 197be78bc5)
2022-05-16 21:12:21 +02:00
Haoyu Qiu
59151db99e Fix crash when editing pinned StyleBox
(cherry picked from commit 4b013a9c96)
2022-05-16 21:12:21 +02:00
smix8
214a00ca2e Add missing class doc to NavigationMeshGenerator
Adds missing class documentation for NavigationMeshGenerator bake() and clear() functions.

(cherry picked from commit 375c4ef312)
2022-05-16 21:12:20 +02:00
smix8
3e01d32b4c Clamp NavigationMesh sample_distance above zero
While default ReCast library has support for 0.0 'sample_distance' the Godot implementation does not an crashes.
Previously Godot would set all sample_distance values below 0.9 to 0 which causes the crashes.

This limits the sample_distance range selection to 0.1 - 16.0 and also clamps sample_distance that are below 0.1 before ReCast receives them.

(cherry picked from commit e33fa9d833)
2022-05-16 21:10:36 +02:00
smix8
3977eb9107 Add NavigationServer2D/3D API functions to find missing RID info
Utility functions for NavigationServer2D/3D to find missing RID information when working with Server API directly. e.g. from map to regions and agents, from agent or region to map, from region to map and agents and so on ....

Requirement to work with NavigationServer API exklusive without SceneTree nodes and when juggling agents and regions between multiple navigation maps.

(cherry picked from commit 371054e3e5)
2022-05-16 21:10:36 +02:00
smix8
c3b39ca1e9 Disable threaded NavigationMesh bake on unsupported OS
Automatically disables threaded NavigationMesh bake when OS does not support threads.

(cherry picked from commit 49c603e127)
2022-05-16 17:52:07 +02:00