Commit graph

34243 commits

Author SHA1 Message Date
Rémi Verschelde
b5e368c92b Linux: Fix GNU ld detection for pck_embed linker script
(cherry picked from commit fce3602a1e)
2022-08-30 11:07:51 +02:00
Haoyu Qiu
5d30d77fd7 Fix missing URL text in the classref
(cherry picked from commit a90c348a86)
2022-08-30 11:07:29 +02:00
Micky
179a16a67c Improve documentation of CanvasItem's draw logic
(cherry picked from commit 953c78eaff)
2022-08-29 17:14:38 +02:00
kobewi
503fddc0fe Mention the stretching behavior of PopupPanel
(cherry picked from commit a2b088b1c1)
2022-08-29 17:14:20 +02:00
Pedro J. Estébanez
cbe542f96a Fix jumbled error output when using Windows spawn fix
(cherry picked from commit 4a3cb14473)
2022-08-29 17:14:03 +02:00
Pedro J. Estébanez
fc01ed9dbb Clean iOS platform config of long gone macro
(cherry picked from commit 8c2a577350)
2022-08-29 17:13:45 +02:00
Michael Alexsander
62c6fe77b6 Fix error when switching to another GridMap with an item with higher index selected
(cherry picked from commit fe16aecbac)
2022-08-29 17:13:24 +02:00
Dan Boorstein
9a037a0727 Add note about using AudioListener2D
There was no mention of the effect of AudioListener2D in this documentation, making it unclear if there was a relationship. The new text is copied and modified from the AudioStreamPlayer3D documentation.

Use 'an' as article before 'AudioListener3D'

(cherry picked from commit a7ebc6fb18)
2022-08-29 17:13:03 +02:00
Marlin Watts-Woods
98074e1861 Added to Sprite3D Documentation
(cherry picked from commit f8f665b03e)
2022-08-29 17:12:25 +02:00
Hugo Locurcio
f93f583c42 Improve InstancePlaceholder documentation
(cherry picked from commit 5acf30b538)
2022-08-29 17:12:01 +02:00
Rémi Verschelde
07af8a971a nanosvg: Sync with upstream bd16c4e
(cherry picked from commit 052257e9b7)
2022-08-29 17:11:47 +02:00
Fredia Huya-Kouadio
f96f8ddfc7 Fix issue with get_current_dir() returning the wrong path on Android
(cherry picked from commit b5e1096c61)
2022-08-29 17:11:32 +02:00
Hugo Locurcio
e237bdf37c Improve documentation related to anisotropic filtering
(cherry picked from commit d2ef3bf8a6)
2022-08-29 17:11:13 +02:00
bruvzg
2678fd8202 Fix color modulation of the grayscale glyphs in font with mixed color / grayscale data.
(cherry picked from commit 4d0c0f3ffa)
2022-08-29 17:10:27 +02:00
Raul Santos
465a6569e4 C#: Use custom project setting for C# project files name
The setting is initially assigned the name of the Godot project,
but it's kept freezed to prevent issues when renaming the Godot
project.

The user can always rename the C# project and solution manually and
change the setting to the new name.

Co-authored-by: Ignacio Roldán Etcheverry <ignalfonsore@gmail.com>
(cherry picked from commit 31d09a807e)
2022-08-29 17:10:14 +02:00
Olivier Bombardier
cd6764611c Fix has_filter of AnimationNode not being called in scripts
(cherry picked from commit c988deb3b1)
2022-08-29 17:09:40 +02:00
Fredia Huya-Kouadio
ea8fa93809 Disable threads used to check on plugins to load
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources

(cherry picked from commit 3ac6b6a596)
2022-08-29 17:07:48 +02:00
Fredia Huya-Kouadio
a7a8f9c85d Fix issue preventing the Android Editor from displaying the project content
The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached.
This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.

(cherry picked from commit 30479543b0)
2022-08-29 17:07:44 +02:00
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