Commit Graph

34025 Commits

Author SHA1 Message Date
kobewi 7c349574d7 Optimize theme usage in editor log
(cherry picked from commit c65360eed1)
2022-08-29 17:07:11 +02:00
Haoyu Qiu 59061dc619 Document `outline` parameter of `Font.draw_char()`
(cherry picked from commit 93493843b0)
2022-08-29 17:06:52 +02:00
Haoyu Qiu e8a9d77e4b Tree: Don't draw selection background of individual cells in Row mode
(cherry picked from commit 4c47c6ab75)
2022-08-29 17:06:00 +02:00
Ryan Roden-Corrent f0d7931de6 Don't process input in hidden EditorProperty.
This causes EditorProperty nodes to intercept input events even when the
Editor Properties dialog is not visible. This means that after closing
the dialog, ctrl+shift+c will still copy the last selected property
path.

Fixes #62866.

(cherry picked from commit 26223fe855)
2022-08-29 17:05:47 +02:00
David Snopek 81fa7abb40 Fix locale resource remapping with binary conversion on export
(cherry picked from commit 0cf4ba0d84)
2022-08-29 17:05:30 +02:00
SnailRhymer 6426f2e9c7 Change code folding behavior to include terminal indented comments
Previously, when folding a block of code that finished with an indented comment (i.e. one indented as much as or more than the starting indent of the code), that comment would be left out of the fold. Change the behavior to include such comments, but still leave less-indented ones out.

(cherry picked from commit efed5087ae)
2022-08-29 17:05:09 +02:00
Rémi Verschelde 0bd6814cc6 CI: Remove unnecessary extra cache step for Emscripten
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
(cherry picked from commit cfcdd576dd)
2022-08-25 15:58:13 +02:00
Rémi Verschelde 7fe3a0694b CI: Sync configuration with master branch
Updates various actions to latest versions:

actions/cache@v3
actions/checkout@v3
actions/upload-artifact@v3
actions/setup-dotnet@v2
actions/setup-java@v3
actions/setup-python@v4
mymindstorm/setup-emsdk@v11

(cherry picked from commit abaa76fcf9)
2022-08-25 14:14:13 +02:00
Rémi Verschelde 82175a6c2e Fix VisualScript editor crash when deleting selected nodes
Fixes #64662.
Regression from #61145.

(cherry picked from commit 13d1ee6058)
2022-08-24 11:30:28 +02:00
Haoyu Qiu 1ea8b9d2b7 Fix Time.get_unix_time_from_system() not including msecs
(cherry picked from commit 1be078ebcb)
2022-08-08 16:32:16 +02:00
Pedro J. Estébanez e44c18ecc0 Fix GI probes not working in the ubershader
(cherry picked from commit edb140839e)
2022-08-08 16:25:37 +02:00
Pedro J. Estébanez 0af799d2a7 Fix emission not working in the ubershader
(cherry picked from commit ea6ed9658d)
2022-08-08 16:25:37 +02:00
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