Commit Graph

52744 Commits

Author SHA1 Message Date
Rémi Verschelde 516323f4ab SCons: Cleanup pulseaudio defines for Linux
No need to define _REENTRANT manually when using the system lib,
it's part of the pkgconfig cflags.
And we were then defining PULSEAUDIO_ENABLED twice.

(cherry picked from commit a35586779e)
2023-03-27 17:20:16 +02:00
Omar Polo 597b83aedf change some sys.exit() to be fatal
- when not all freetype deps are builtin (or provided externally)
- when attempting to build on an unsupported CPU architecture

(cherry picked from commit ac04a0761e)
2023-03-27 17:19:27 +02:00
Ninni Pipping 4da5fc9203 Fix Variant hashing for floats
Incorrectly hashed floats as single precision

(cherry picked from commit e6a9e0cdec)
2023-03-27 17:18:16 +02:00
Yuri Sizov 636d7905b0 Update property keying state without a full Inspector rebuild
(cherry picked from commit f68eb4a967)
2023-03-27 17:17:19 +02:00
Nong Van Tinh e1de9f9fc4 Fixes  gutter set width results in receiving only half of the desired size
(cherry picked from commit bb3d0fc6b7)
2023-03-27 17:16:25 +02:00
Ron B. Yeh b54ff430aa Rename mkv_list to mvk_list (MoltenVK path list).
(cherry picked from commit 7e7ac1bb87)
2023-03-27 17:15:28 +02:00
Marius Hanl 6e85d4efea Add conversion for Vector2 method tangent() -> orthogonal()
For C# also: Perpendicular() -> Orthogonal()

(cherry picked from commit da4ec87673)
2023-03-27 17:14:42 +02:00
Hakim 60ceecb1ab Reload built in script to get its methods on signal connection
(cherry picked from commit 5aa8b9ee61)
2023-03-27 17:13:30 +02:00
bruvzg de08766656 Fix IME position in the single window mode sub-windows.
(cherry picked from commit 3ca3ee36ab)
2023-03-27 17:12:30 +02:00
kobewi d91a3985ae Fix EditorUndoRedoManager's handling of MERGE_ENDS
(cherry picked from commit 38c50b4ed3)
2023-03-27 17:10:54 +02:00
Ricardo Buring 68e6234595 Fix concave/convex polygon shape documentation
Removes some outdated/incorrect/duplicated info, adds correct info.
Also removes no longer applicable "editor-only helper" statements.

(cherry picked from commit e61a127042)
2023-03-27 17:10:03 +02:00
stmSi 0dab32f317 Fix `Find in Files` Search Results cannot open builtin script
(cherry picked from commit f1f4c5b10b)
2023-03-27 17:06:43 +02:00
necrashter 865a0b4507 Use the new API for virtual keyboard height detection on Android, bugfix
(cherry picked from commit 61549edef0)
2023-03-27 17:05:13 +02:00
bitsawer 6782cd7291 Fix several clang-tidy bool literal conversion warnings
(cherry picked from commit 1736137bc9)
2023-03-27 17:03:22 +02:00
RedworkDE bb5a6e29ab C#: Fix building projects for MSBuild before 17.3
(cherry picked from commit 6019f497b8)
2023-03-27 17:01:56 +02:00
Raul Santos c4618bcc1b C#: Encode GodotProjectDir as Base64 to prevent issues with special characters
(cherry picked from commit f949e94991)
2023-03-27 17:01:32 +02:00
Yuri Rubinsky a397474bd0 Fix randfn to prevent generating of nan values
(cherry picked from commit d11bb866ff)
2023-03-27 16:59:46 +02:00
VolTer 2e37c05fe6 Make GDScript number highlighting stricter
(cherry picked from commit 952703d921)
2023-03-27 16:58:50 +02:00
Pedro J. Estébanez 46d475b067 Fix crash in resource load
(cherry picked from commit 047671df0f)
2023-03-27 16:57:35 +02:00
Bastiaan Olij a94a2062af Add XRServer.world_origin property
(cherry picked from commit fd8f26f26e)
2023-03-27 16:56:22 +02:00
bruvzg 7a3f8a83da Fix GDExtensions library export when multiple architectures are set.
(cherry picked from commit c2d678a924)
2023-03-27 16:55:28 +02:00
bruvzg 559d09c140 [TextServer] Add mutex for FreeType face creation/deletion operations.
(cherry picked from commit c950a1ab94)
2023-03-27 16:52:57 +02:00
LandoUWB ff125a638a Commit Fix for GLES3 point size not working
(cherry picked from commit f23f0a27c1)
2023-03-27 16:51:10 +02:00
RandomCatDude 149f16b2fa fix spotlight shadows in volumetric fog
(cherry picked from commit 59c31004f8)
2023-03-27 16:47:46 +02:00
Michael Alexsander bf8ab62ca3 Fix `GraphNode` resizing when its bottom border is too thin
(cherry picked from commit c567a853db)
2023-03-27 16:45:22 +02:00
myaaaaaaaaa 6ed9e03449 Fix data races in startup/teardown
(cherry picked from commit d337ed1c64)
2023-03-27 16:43:47 +02:00
bruvzg db3fadc560 Improve layout direction/locale automatic selection.
(cherry picked from commit 82d7923c65)
2023-03-27 16:36:53 +02:00
bruvzg 24c4b5e8ad [macOS] Re-add support for the _sc_ inside app bundle. Update docs.
(cherry picked from commit 174e0837e0)
2023-03-27 16:34:57 +02:00
Markus Sauermann 3cae980c17 Fix some ways to create inconsistent Viewport sizes
In the editor, it was possible to set the size of a `SubViewport` even
in cases where a parent `SubViewportContainer` had stretch enabled.

This PR disables editing a `SubViewport.size` while the parent disallows
it and it makes necessary adjustments during `NOTIFICATION_ENTER_TREE`.

(cherry picked from commit 34a7fc7447)
2023-03-27 16:34:05 +02:00
LandoUWB 34a087cc2c Incorporating the availability of screen and depth textures for the GLES3 backend
(cherry picked from commit 98697b05d8)
2023-03-27 16:32:25 +02:00
Eric M 74b5a0ca4f Fix cancelling selection (pressing escape) while gizmo editing making uncommitted changes.
* Pressing escape while gizmo editing will discard the changes made during that edit 'session'

(cherry picked from commit 871ddf80c0)
2023-03-27 16:29:21 +02:00
Paweł ca0ba83f03 Fix scrolling behaviour with low page value
(cherry picked from commit 1608bea188)
2023-03-27 16:28:29 +02:00
clayjohn 5262fe21de Delete unused compression formats from .imoprt files when exporting
(cherry picked from commit dec86164e1)
2023-03-27 16:26:13 +02:00
Ricardo Buring d8f0c2bdca Revert attempted fix of trimesh CCD
(cherry picked from commit bec1182093)
2023-03-27 16:22:22 +02:00
Rémi Verschelde cacf49999e
Bump version to 4.0.1-stable 2023-03-19 18:03:00 +01:00
Rémi Verschelde c5aa3bd7d7
Merge pull request #75097 from YuriSizov/4.0.1-changelog
Add changelog for 4.0.1
2023-03-19 09:59:29 -07:00
Yuri Sizov ac8f97048e Add changelog for 4.0.1 2023-03-19 12:32:10 +01:00
Rémi Verschelde 6970257cff
Merge pull request #74987 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.1) - 4th batch
2023-03-16 10:44:56 -07:00
lawnjelly c0e5879b41 Improve Vector2 / 3 / 4 normalized() classref.
Mention that the results will be unreliable with initial vector near zero.

(cherry picked from commit cca01afd82)
2023-03-16 16:46:18 +01:00
smix8 8e8ecf52cf Fix NavigationAgent3D debug path duplicated points
Fixes duplicated points in NavigationAgent3D debug path.

(cherry picked from commit 0b8798a995)
2023-03-16 16:45:16 +01:00
smix8 bea2da94da Allow negative NavigationAgent2D path debug line_width for thin lines
Allows the line_width for NavigationAgent2D path debug to go negativ for thin line rendering.

(cherry picked from commit f6a10c0565)
2023-03-16 16:45:07 +01:00
Haoyu Qiu c6a704af2c Fix typos and inconsistencies in classref
(cherry picked from commit 57d4272984)
2023-03-16 16:43:31 +01:00
Haoyu Qiu ef06e5d786 Fix error when opening Inspector's dots menu
When the inspector is empty, opening the "extra resource options" menu
produces a error:

> Condition "current_res.is_null()" is true.

Opening the mneu with no current resource is valid use case, so
`ERR_FAIL_COND` should not be used.

(cherry picked from commit cb0fa0ed7b)
2023-03-16 16:42:53 +01:00
clayjohn ec5f503289 Disallow creating a project in the Home or Documents folder
Also don't prompt users to delete the project folder for now.

This is a temporary fix to ensure that users do not delete their entire home folders by mistake

(cherry picked from commit 45a26ff292)
2023-03-16 16:42:09 +01:00
Hugo Locurcio ab12edb6c6 Add "Bbcode" -> "BBCode" editor capitalization
This property name is used in RichTextLabel.

(cherry picked from commit 81858da2e6)
2023-03-16 16:41:16 +01:00
kobewi 5faebb712e Fix MultiNodeEdit not cleared after deleting nodes
(cherry picked from commit fbffd686e2)
2023-03-16 16:40:13 +01:00
Brett Chalupa 1507bea80c Fix CharacterBody2D get_slide_collision docs
The indentation was off and the code usage was incorrect for Godot 4.0 GDScript.

(cherry picked from commit 2b6e1550ff)
2023-03-16 16:39:23 +01:00
David Snopek 1c7bd972e4 Documents the "arc-based" Quaternion constructor
(cherry picked from commit 2d6deb10b0)
2023-03-16 16:38:47 +01:00
Marius Hanl 3bb89a0911 Add conversion for common Theme Overrides
(cherry picked from commit a40f559fe2)
2023-03-16 16:37:38 +01:00
Danil Alexeev 5acc7a77fe Fix `InputEventConfigurationDialog` modifies original event
(cherry picked from commit 9fbf24fd5c)
2023-03-16 16:37:05 +01:00