Commit graph

34163 commits

Author SHA1 Message Date
Pedro J. Estébanez
f3adb06938 Fix shadow flickering with async shader compilation
This mostly reverts the approach in #62628, which now the problem is better scoped, looks overengineered and instead focuses on the few cases where there's something to take care of.

(cherry picked from commit a2ed82d3b2)
2022-08-08 16:25:37 +02:00
Rémi Verschelde
76d3453511
Merge pull request #64103 from akien-mga/3.5-cherrypicks 2022-08-08 16:25:33 +02:00
Hugo Locurcio
96d3b8d866 Improve Shape2D's custom_solver_bias description
(cherry picked from commit 373e3dffb4)
2022-08-08 13:35:55 +02:00
Yuri Sizov
b779a2332b Use FlowContainer to handle toolbar overflow more gracefully
(cherry picked from commit 842c3a644f)
2022-08-08 13:35:36 +02:00
lawnjelly
ec82655ca0 Fix skeleton 2D stale bounding rect
Adds special logic for handling skeleton bounding rect updates. Previously these were never being updated because the canvas item is never set to "rect_dirty".

(cherry picked from commit 18bb668a2e)
2022-08-08 13:35:18 +02:00
kleonc
2f0577fb0f AnimatedSprite Fix updating inspector when SpriteFrames is modified
(cherry picked from commit 8ae246f15e)
2022-08-08 13:34:05 +02:00
Hugo Locurcio
77d596088e Remove FOV adjustment with Alt + mouse wheel in the 3D editor
This shortcut got in the way when using the Maya navigation scheme,
and also when using the slow freelook modifier (regardless of
navigation scheme).

(cherry picked from commit 53f4ff243d)
2022-08-08 13:20:42 +02:00
Chia-Hsiang Cheng
396955b4f2 Disable the OK button when no node is selected.
(cherry picked from commit 83d478ffcd)
2022-08-08 13:20:08 +02:00
Cristiano Simao
b00758fe18 doc: Clarify MultiMesh.set_instance_color re: white albedo color
If the user does not set the albedo color to pure white, then the
multiplication with a value different from 1 will produce modulated colors.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit 1f6709d6e3)
2022-08-08 13:19:43 +02:00
Grzegorz Puławski
1f1bed15ba Fix axis snapping of CollisionPolygon2d's newly created vertex
(cherry picked from commit ba58491ca7)
2022-08-08 13:19:17 +02:00
Raul Santos
bc8293a125 Avoid paths with invalid characters in IsRider
(cherry picked from commit 34c3966510)
2022-08-08 13:18:48 +02:00
Josh Jones
61e28c28cd Fix typo when setting NavigationRegion travel_cost
(cherry picked from commit 8c324132d0)
2022-08-08 13:18:43 +02:00
Fabio Alessandrelli
b2ba3bab52 [File] Fix FileAccessCompressed::get_buffer return value.
It used to return the write index instead of the written bytes (i.e.
index + 1) when reading until last block.

(cherry picked from commit e8f7b79bb0)
2022-08-08 13:18:05 +02:00
kleonc
1a023e6b1b FileSystemDock Fix crash when renaming a file in split mode
(cherry picked from commit 25ce459fc5)
2022-08-08 13:17:34 +02:00
Hugo Locurcio
aa26828f76 Fix broken rST reference in HTTPClient documentation
References in reStructuredText cannot be located within bold/italic
text. This caused the online class reference to have the `:ref:`
text written as-is.

(cherry picked from commit 9709205112)
2022-08-08 13:17:03 +02:00
Tom
3b3721262c updated the String class with info about the 'allow_empty' optional argument
(cherry picked from commit 39233c299c)
2022-08-08 13:16:27 +02:00
Hugo Locurcio
2ed3818277 Improve range_lerp() and related methods documentation
(cherry picked from commit bd19c9a95c)
2022-08-08 13:16:09 +02:00
smix8
a6b75da78c Fix TileMap error msg when optional navigation node is not set
Fixes TileMap error msg spam when bake_navigation=true but the optional and depr navigation node is not set.

(cherry picked from commit 30d4555c65)
2022-08-06 22:23:01 +02:00
Haoyu Qiu
fe075cf6d5 Make theme tests compile in Visual Studio 2017
(cherry picked from commit eb176b135a)
2022-08-06 13:53:07 +02:00
Rémi Verschelde
79d05e11d5 CI: Change BASE_BRANCH to 3.5 2022-08-05 18:41:52 +02:00
Rémi Verschelde
07b3784533 Bump version to 3.5.1-rc 2022-08-05 18:41:48 +02:00
Rémi Verschelde
991bb6ac74 Bump version to 3.5-stable \o/
What a ride!

Developing 3.5 in parallel with the rapidly growing 4.0 alpha has
proved challenging, but here we are with a great feature update for the
3.x branch.

4.0 is getting close to beta, and now most contributors have switched
their focus towards that major update, and rightly so. Still, the work
that went into 3.5 is amazing and makes it a very strong and stable
solution for your games *today* -- while 4.0 takes the time it needs to
stabilize and mature.

A big thankyou to all contributors who worked on this release!
2022-08-05 03:40:16 +02:00
Rémi Verschelde
7c8cc5c37b
Merge pull request #63933 from akien-mga/3.5-changelog
Add changelog for Godot 3.5
2022-08-05 03:29:38 +02:00
Rémi Verschelde
53610adf82 Add changelog for Godot 3.5 2022-08-05 03:27:34 +02:00
Rémi Verschelde
b671ea88fb i18n: Sync classref translations with Weblate 2022-08-05 03:12:25 +02:00
Rémi Verschelde
4e64c1f1b6 i18n: Sync editor translations with Weblate 2022-08-05 03:09:55 +02:00
Rémi Verschelde
6a675563cf certs: Sync with Mozilla bundle as of Jul 19, 2022
7f33e7eb84
(cherry picked from commit d8c8ecb148)
2022-08-05 03:03:56 +02:00
Rémi Verschelde
5ed5bb2a5e Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@4896d2de6b

(cherry picked from commit 86647c9e42)
2022-08-05 03:03:48 +02:00
Fabio Alessandrelli
4e33610fb0 [Core] Use std type traits to check operations triviality.
(cherry picked from commit 6f02183f8c)
2022-08-04 15:20:28 +02:00
Fabio Alessandrelli
fbc7fc44ae Fix some array size function definition mismatch.
(cherry picked from commit 55845bac26)
2022-08-04 15:18:43 +02:00
Rémi Verschelde
ecac887aa7 Style: Workaround clang-format 14 bug with Inline oneliner functions
We use 'All' which is the default in the base LLVM style.

That's not the style we want but it works around the upstream
regression until clang-format 15.0 is released and widely used:
https://github.com/llvm/llvm-project/issues/54901

(cherry picked from commit 11ec70959c)
2022-08-03 15:04:47 +02:00
Alfred R. Baudisch
c574f718b1 Display sub-plugins when Stay in Script Editor is On
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.

With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.

Fixes and closes #63621.

(cherry picked from commit eaaedb24a3)
2022-08-03 15:02:57 +02:00
Matt
eba8ce7d8c adds null case to weakref docs
(cherry picked from commit dc4e72a3fc)
2022-08-03 15:01:30 +02:00
Raul Santos
3ec6644096 C#: Remove unused Transform2D.ScaleBasis method
(cherry picked from commit a4ad1dfa51)
2022-08-03 15:01:02 +02:00
Rémi Verschelde
a1c0be731d
Merge pull request #63858 from Calinou/doc-camera3d-frustum-offset-projection-3.x
Document Camera's frustum offset property requiring Frustum projection (3.x)
2022-08-03 07:57:24 +02:00
Hugo Locurcio
8543c5599c
Document Camera's frustum offset property requiring Frustum projection 2022-08-03 02:45:05 +02:00
Rémi Verschelde
17e8fa8632
Merge pull request #63783 from timothyqiu/atp-bounds 2022-08-01 22:06:11 +02:00
Haoyu Qiu
9d923764c9 Fix crash when executing AnimationTreePlayer.are_nodes_connected 2022-08-01 23:36:12 +08:00
Raul Santos
ef9e2c8ca8 Rename math 'phi' arguments to 'angle' in C#
(cherry picked from commit d0e586fc7e)
2022-08-01 10:38:58 +02:00
bruvzg
e0101e511c Improve some export error messages.
(cherry picked from commit ea00cf7270)
2022-08-01 10:37:04 +02:00
Rémi Verschelde
cc4c959268 SCons: Fix creating VS solution with SCons 4.4.0
Fixes #63709.

Co-authored-by: 19PHOBOSS98 <37253663+19PHOBOSS98@users.noreply.github.com>
(cherry picked from commit 89847dc6e3)
2022-08-01 10:31:56 +02:00
bruvzg
12e10457e1 [macOS, Mono] Fix "Wdeprecated-declarations" build error.
(cherry picked from commit 5d54c015b2)
2022-08-01 10:30:43 +02:00
Rémi Verschelde
9d0d9ff424
Merge pull request #63745 from akien-mga/3.x-file-get_as_text-skip-CR
[3.x] File: Re-add support to skip CR (`\r`) in `File::get_as_text`
2022-08-01 07:54:32 +02:00
Rémi Verschelde
751b16a285 File: Re-add support to skip CR (\r) in File::get_as_text
This was removed in #63481, and we confirmed that it's better like this,
but we add back the possibility to strip CR as an option, to optionally
restore the previous behavior.

For performance this is done directly in `String::parse_utf8`.

Also fixes Android `FileAccess::get_line()` as this one _should_ strip CR.

Supersedes #63717.

(cherry picked from commit 1418f97c70)
2022-08-01 00:40:55 +02:00
Rémi Verschelde
f9db8fa70a
Merge pull request #63721 from akien-mga/scons-fix-x11-use_lld-fallback 2022-07-31 22:31:12 +02:00
Rémi Verschelde
10e8a25ce7 SCons: Fix X11 use_lld fallback not being applied 2022-07-31 13:49:12 +02:00
Rémi Verschelde
82ed8a66df
Merge pull request #63685 from aaronfranke/3.x-translated
[3.x] Fix Translated method in C# affecting the original transform
2022-07-30 20:18:05 +02:00
Aaron Franke
4d6c609e50
[3.x] Fix Translated method in C# affecting the original transform 2022-07-30 11:54:19 -05:00
Rémi Verschelde
284dbef733
Merge pull request #63639 from twobitadder/scenetree_docs_how_do_i_rebase
updated SceneTree docs to include information on passing in null
2022-07-30 11:22:40 +02:00
Rémi Verschelde
4a8d3bf129
Merge pull request #63649 from snailrhymer/meshinstance-fix
Fix typo in MeshInstance.xml
2022-07-30 09:21:51 +02:00