Commit graph

34163 commits

Author SHA1 Message Date
smix8
88e42b2915 Add NavigationAgent desired path distance
Add NavigationAgent desired path distance

(cherry picked from commit 07740302f3)
2022-06-20 15:11:09 +02:00
Rémi Verschelde
0cb897421a Node: Rename child_exited_tree to child_exiting_tree
The name was confusing as this signal is emitted around the same time as
`tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is
still in tree.

Fixes #59210.

(cherry picked from commit 3e6de687b8)
2022-06-20 15:00:09 +02:00
Marcel Admiraal
b8b7c21583 Ensure AudioFrame variables l and r are always initialised
(cherry picked from commit d3f0994572)
2022-06-20 14:58:57 +02:00
Hugo Locurcio
8ad483e2d8 Document incremental search support in ItemList, PopupMenu and Tree
(cherry picked from commit 466bd7ce39)
2022-06-20 14:58:15 +02:00
cow-neaz
92ffbceee1 Stop game on reloading project
(cherry picked from commit 8935cf17cf)
2022-06-20 14:56:57 +02:00
iamjsk10
1b648ddc2b Mono: Fix typo to foreach C# keyword
(cherry picked from commit d3a839f4b1)
2022-06-20 14:55:34 +02:00
Rémi Verschelde
6eba5370d3
Merge pull request #62240 from timothyqiu/docs-version
Update editor doc links to 3.5 branch
2022-06-20 08:40:16 +02:00
Haoyu Qiu
d77997f728 Update editor docs link to 3.5 branch 2022-06-20 13:41:45 +08:00
Rémi Verschelde
fcf0dd1e33
Merge pull request #62211 from lawnjelly/fti_fix_unmoving_updates
Physics Interpolation - fix continuous updating in unmoving objects
2022-06-19 23:22:37 +02:00
Rémi Verschelde
56a2dab0b7
Merge pull request #62226 from RandomShaper/fix_intel_hd_shaders_3.5
[3.x] Use signed integers for async shader conditionals
2022-06-19 23:14:24 +02:00
Pedro J. Estébanez
d3d8ccea60 Use signed integers for async shader conditionals 2022-06-19 20:16:27 +02:00
Rémi Verschelde
e4d6a4d005
Merge pull request #60799 from Calinou/doc-os-cmdline-args-3.x 2022-06-19 14:09:23 +02:00
Rémi Verschelde
5478afdb1e i18n: Sync classref translations with Weblate 2022-06-19 13:59:41 +02:00
Rémi Verschelde
000499662b i18n: Sync editor translations with Weblate 2022-06-19 13:57:04 +02:00
Rémi Verschelde
4137578369 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 13:48:15 +02:00
Rémi Verschelde
faf8a7b19e
Merge pull request #62209 from akien-mga/3.x-fix-editor-ProjectSettings 2022-06-19 13:25:11 +02:00
lawnjelly
e4f252d94f Physics Interpolation - fix continuous updating in unmoving objects
Adds instances to the transform update list as well as the interpolate update list when unhiding them. This ensures that the system auto-detects non-moving objects, and removes them from the interpolate update list on the next tick, preventing unnecessary updates.
2022-06-19 11:26:13 +01:00
Rémi Verschelde
acd4a01b8c ProjectSettings: Ensure 'editor/' settings aren't nested
Having a mix of settings with and without subcategory makes the 'Editor'
section stand out with a weird UX, as instead of simply being a foldable
section like the others, it also holds its own top-level settings and is
therefore selectable.

This wasn't the case in 3.4, and is fixed in 4.0 by refactoring, so for
3.5 we should preserve the 3.4 UX, even if it's not the best.
2022-06-19 11:47:19 +02:00
Haoyu Qiu
a3777a7c38 Fix EditorFileDialog filename default selection 2022-06-19 10:40:33 +08:00
Rémi Verschelde
2e5d858928
Merge pull request #62178 from kleonc/emission_shape_hint_fix_3x
[3.x] Fix `CPUParticles2D.emission_shape` enum hint
2022-06-18 21:03:33 +02:00
kleonc
e55ba60da1 Fix CPUParticles2D.emission_shape enum hint 2022-06-18 16:07:34 +02:00
Fabio Alessandrelli
a77d514ec0 [GDNative] Fix GDN_EXPORT define with mingw.
The define is **not used by godot**, but in GDNative libraries.

I'm not sure it should be defined there in the first place, though we
shouldn't change that (for compatibility).

This commit changes the platform detection order to detect mingw
compiling for windows (which defines `__GNUC__`).

This commit also wraps the definition around a guard to let libraries
override it with a build-time define.
2022-06-18 13:03:06 +02:00
Rémi Verschelde
db5550a3b7
Merge pull request #62135 from madmiraal/fix-60712-3.x 2022-06-17 12:20:44 +02:00
Jiri Suchan
daf6fdf0b7 refactoring: simplify compiler version check
(cherry picked from commit 8d94d26caf)
2022-06-17 10:08:49 +02:00
Marcel Admiraal
b257d552e7 Cleanup AudioEffectRecord thread_active variable 2022-06-17 08:52:20 +01:00
Rémi Verschelde
f1fdada6dc
Merge pull request #62131 from timothyqiu/doc-fixes-3.x 2022-06-17 09:48:18 +02:00
Haoyu Qiu
b43fdea0d5 Classref typo fixes and improvements 2022-06-17 15:19:31 +08:00
Rémi Verschelde
e047c50068 i18n: Sync classref translations with Weblate 2022-06-16 21:06:56 +02:00
Rémi Verschelde
135c252a38 i18n: Sync editor translations with Weblate 2022-06-16 20:59:13 +02:00
Theraot
69653a4b9d Updating AStar2D documentation to mention the new bidirectional paramter
(cherry picked from commit b18a018ad2)
2022-06-16 20:49:04 +02:00
Theraot
6007d7f0ed Added missing p_bidirectional to AStar2D methods
The methods disconnect_points and are_points_connected  now have an optional p_bidirectional parameter matching AStar.

(cherry picked from commit 3590cdfd34)
2022-06-16 20:49:01 +02:00
Marcel Admiraal
50bf882fcc Ensure joystick has been added or not already removed when processing input
(cherry picked from commit 806e7d18d1)
2022-06-16 20:47:49 +02:00
Rémi Verschelde
a00478afe9 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
ConteZero, fire-forge, IgorKordiukiewicz, iwek7, klowner,
pfertyk, smix8

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit f8d3388d9b)
2022-06-16 20:47:40 +02:00
Paul Joannon
c43b8ccaaf Fix Lerp documentation and implement RangeLerp
(cherry picked from commit ee95a1cb28)
2022-06-16 20:47:40 +02:00
K. S. Ernest (iFire) Lee
bcd92b8aa0 Print NavMap error only once for invalid NavMesh.
(cherry picked from commit 67052af918)
2022-06-16 20:47:40 +02:00
Rémi Verschelde
f0fcdef598
Merge pull request #62117 from smix8/navigation_navagent_map_change_3.x
[3.5] Add NavigationAgent2D/3D set_navigation_map() function
2022-06-16 19:58:37 +02:00
smix8
c6f9627c74 [3.5] Add NavigationAgent2D/3D set_navigation_map() function
Add NavigationAgent2D/3D set_navigation_map() function. Also fixes some bugs from leftover code before the backport update.
2022-06-16 19:25:52 +02:00
Rémi Verschelde
108792a62d
Merge pull request #62098 from akien-mga/3.x-cherrypicks
Cherry-picks for the 3.x branch (future 3.5) - 24th batch
2022-06-16 13:01:11 +02:00
Hugo Locurcio
b853b8d065 Add a property hint for the iOS touch delay project setting
(cherry picked from commit 21da2fbbb0)
2022-06-16 10:20:52 +02:00
Hugo Locurcio
bec892c010 Tweak default crash handler message in exported projects
When an exported project crashes, the crash handler message
shouldn't reference the Godot issue tracker, as not all crashes
are Godot's fault.

Reporting crashes that only occur on exported projects is still allowed,
but it should not be done by people who aren't working on the project
in question.

(cherry picked from commit c850ccb7c0)
2022-06-16 10:16:32 +02:00
Aaron Franke
fca4af0e58 Document limitations of negative scales in 2D and 3D
(cherry picked from commit 3398fb77a9)
2022-06-16 10:15:41 +02:00
Rafał Mikrut
096cea6142 Stop CI when Godot crash
(cherry picked from commit 80237a54e0)
2022-06-16 10:11:54 +02:00
Kurt Lachmann
c07d1d0de8 Use insertText from the internal autocompletion
* GDScriptLanguage::complete_code already adds parentheses to function calls, and does this a lot smarter than the language server right now.
* Instead of the previous naive approach we now reuse the same logic as the internal editor.
* For this to have any effect we also have to send the `insertText` field already during the completionRequest and not only during resolve.

(cherry picked from commit bbb07ff8cb)
2022-06-16 10:11:33 +02:00
Yuri Rubinsky
d525d902c1 Fix wrapf to correct wrap values with 0.1 stepping
(cherry picked from commit 09418afbc0)
2022-06-16 10:10:48 +02:00
FireForge
fec7e13b02 Allow folding in sub-inspectors in Array and Dictionary editors
(cherry picked from commit 4e469886e8)
2022-06-16 10:10:21 +02:00
smix8
96e865dfb3 Document NavigationServer API navigation agent callbacks
Document NavigationServer API navigation agent callbacks.

(cherry picked from commit 10c400ca82)
2022-06-16 10:03:47 +02:00
smix8
b0a8bcdf49 Fix crash of navigation agents callback when object is invalid
Fix crash of navigation agents callback when object is invalid.

(cherry picked from commit bc38ebe4f0)
2022-06-16 10:03:18 +02:00
Rémi Verschelde
6ecdef84cf
Merge pull request #62085 from KoBeWi/underscore_of_ruin
Fix NodePath property dragging
2022-06-16 08:30:11 +02:00
Rémi Verschelde
4e7363cac7
Merge pull request #61996 from smix8/navigation_bp_update_3.x
[3.5] Update NavigationServer backport
2022-06-16 00:17:16 +02:00
Rémi Verschelde
17e472fb9b
Merge pull request #61995 from Calinou/gles3-shader-compilation-default-asynchronous-cache
Enable asynchronous shader compilation + cache by default in GLES3
2022-06-16 00:13:43 +02:00