Commit Graph

33486 Commits

Author SHA1 Message Date
smix8 44915696d2 Add wrong surface warnings to NavigationMesh.create_from_mesh()
Adds warnings when at least one of the input mesh surfaces is of wrong primitive type or has an empty vertex / index array as those broken input meshes would fail as both navmesh as well as later when creating debug meshes.

(cherry picked from commit 4185fce0ef)
2022-05-19 15:25:43 +02:00
Rémi Verschelde 52da1bcdca rvo2: Sync with upstream commit bfc0486
bfc048670a
(cherry picked from commit 86cdf1f2cf)
2022-05-19 15:25:43 +02:00
Rémi Verschelde e317b7efbb rvo2: Re-sync with upstream, properly document Godot-specific changes
Still tracking the `v1.0.1` tag for now, just reverting all the unnecessary
style changes that created a diff with upstream.

(cherry picked from commit 6c78170d8c)
2022-05-19 15:25:43 +02:00
Rémi Verschelde e88fb37e86
Merge pull request #61190 from timothyqiu/editor-properties-array-dict-clean-button_add_item 2022-05-19 13:48:11 +02:00
Rémi Verschelde 2e6b9ec207
Merge pull request #61183 from timothyqiu/interpolate-if 2022-05-19 13:30:17 +02:00
Haoyu Qiu d54b60233a Properly clean `button_add_item` ref in Dict property editor
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-05-19 19:20:59 +08:00
Haoyu Qiu 067e738cb8 Fix various typos 2022-05-19 19:07:45 +08:00
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