Commit Graph

53260 Commits

Author SHA1 Message Date
Danil Alexeev 4edc22ee6e Use nearest with mipmaps texture filter in SpriteFrames editor plugin
(cherry picked from commit 2edf1bd76a)
2023-06-29 16:03:20 +02:00
Lyuma f745ef03a3 Fix AABB for unused bones
Fixes bug where bounding box of 1 unit was used in some skinned models and had wrong LODs.
(this could become very large if the mesh is scaled, such as FBX conversions)
Also fixes a mistake in calcualting bone index.

(cherry picked from commit 791d8001db)
2023-06-29 16:03:20 +02:00
Alex Drozd 52c8c8c174 check for null event in Viewport::push_input
(cherry picked from commit a5a1c3a03c)
2023-06-29 16:03:20 +02:00
kobewi 14f1141abe Fix 2D audio in multiple viewports
(cherry picked from commit 8a41eefb97)
2023-06-29 16:03:20 +02:00
Rémi Verschelde 34b4cce2ff
Merge pull request #78811 from RedworkDE/net-auto-version-defines-4.0
[4.0] C#: Automatically generate version defines
2023-06-29 06:55:14 +02:00
RedworkDE 03ce3f5027 C#: Automatically generate version defines 2023-06-28 21:55:24 +02:00
Rémi Verschelde 98a47218a4
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
ajreckof, AThousandShips, bitsawer, hakro, mihe, nongvantinh

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 2930fbeecd)
2023-06-26 17:59:01 +02:00
Rémi Verschelde 5fdd5fa19d
Merge pull request #77110 from smix8/fix_agent_avoidance_pos_4.0
[4.0] Fix agent avoidance position not updated when entering SceneTree
2023-06-22 21:00:50 +02:00
Rémi Verschelde bce04919f4
Merge pull request #78340 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 1st batch
2023-06-20 13:27:35 +02:00
Rémi Verschelde 4eefe8a40e
Merge pull request #78403 from AThousandShips/create_size_fix
[4.0] Fix saving size in `CreateDialog`
2023-06-19 16:48:18 +02:00
Ninni Pipping e22a71aa3c [4.0] Fix saving size in `CreateDialog`
Was fixed for 4.1 in godotengine/godot#75141, but as part of a larger
fix
2023-06-18 14:45:14 +02:00
Adam Scott 09dc11bff5 Add missing `script_type` `nullptr` check
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
(cherry picked from commit 1236302388)
2023-06-16 20:55:24 +02:00
Isard Botha 314c729d2c Fix issue 74259 by setting the sky cover property back to nil when it is reset in the editor.
(cherry picked from commit 74041e3705)
2023-06-16 20:55:23 +02:00
Lyuma 9307d851a9 Fix get_bone_pose_global_no_override()
(cherry picked from commit 565803ce3d)
2023-06-16 20:55:23 +02:00
David Turner 4cf3aff7cc Stop dragging when a slider changes editability
(cherry picked from commit 7d6b44c5a4)
2023-06-16 20:55:23 +02:00
Hakim 3f98539361 Do not translate node name when assigned to an exported field
(cherry picked from commit f2383b7c19)
2023-06-16 20:55:23 +02:00
Hakim b650ba820b Hide Animation Frames section when there are no animations and show message
(cherry picked from commit 9cf2d0f058)
2023-06-16 20:55:23 +02:00
Haoyu Qiu c58bc21dba Turn off auto translate for some editor controls
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
  these after implementing a way to opt-out auto translation on a
  property-by-property basis and a way to extract enumerators.

(cherry picked from commit 26553be424)
2023-06-16 20:55:23 +02:00
Paul Joannon 506734cae1 Link the right build property to REAL_T_IS_DOUBLE
(cherry picked from commit 178cd046bb)
2023-06-16 20:55:23 +02:00
dearthdev 67698b155f Correctly insert lightmap captures and geometries.
(cherry picked from commit 53903f07dc)
2023-06-16 20:55:23 +02:00
Evan Todd 156862bddb Fix CSGPolygon3D in path mode disappearing at runtime.
(cherry picked from commit da7e54ec17)
2023-06-16 20:55:23 +02:00
jpcerrone dcf6f2b29f Fix Input Map key assignments missing after project conversion
Fixes #76336 (Input Map keys missing).
Moves the project.godot config_version stamping from the project manager
to the project converter. Now there's no difference between converting through
the project manager and the CLI tool.
Fixes being prompted to re-convert the project in the project manager after
having done so through the CLI tool.

(cherry picked from commit 0985019c28)
2023-06-16 20:55:23 +02:00
Rindbee ce116e4708 Fix calculation bug with `TextEdit::get_line_height()`
When `get_line_height()` is less than `1`, there is no visible text.
So limit the return value of `get_line_height()` to **not less** than
`1` for calculation.

(cherry picked from commit 391bce44b7)
2023-06-16 20:55:23 +02:00
jpcerrone 566ad9813e fix errors while reordering input maps
(cherry picked from commit c6ea376842)
2023-06-16 20:55:23 +02:00
Danil Alexeev 2054141848 GDScript: Fix `validate_call_arg()` for unresolved datatype
(cherry picked from commit 7da3110e6b)
2023-06-16 20:55:23 +02:00
kleonc a26dd53faf Make SpriteFrames editor toolbar a FlowContainer
(cherry picked from commit d58e832062)
2023-06-16 20:55:23 +02:00
RedworkDE 4cabfc1756 CI: Fix running the unit tests on windows
(cherry picked from commit adbb323163)
2023-06-16 20:55:23 +02:00
kleonc 3af3e88d81 Fix AnimatedSprite3D autoplay warning
(cherry picked from commit d3d84d90de)
2023-06-16 20:55:23 +02:00
Yuri Rubinsky 2bcad4c55b Exclude incorrect completion options for `render_mode` in shaders
(cherry picked from commit 719741b0eb)
2023-06-16 20:55:23 +02:00
FranckRJ ac1885925c Fixed width of CapsuleShape2D::get_rect + set center to center of shape
The width of the rect was only half of the width of the shape, and
the 0;0 coord was at the top left of the rect.
Now the width properly matches the width of the shape, and the 0;0
coord is at the center of the shape. It should match the behavior
of Godot 3.X.

(cherry picked from commit ab5462e386)
2023-06-16 20:55:23 +02:00
tefusion acd975a45a Fix HTTPClient _request using wrong size
This only affects HttpClient in GDScript.

(cherry picked from commit 1514376e46)
2023-06-16 20:55:23 +02:00
RedworkDE 72d561c89f Fix C# glue generation for enums with negative values
(cherry picked from commit 45659ce2d9)
2023-06-16 20:55:23 +02:00
Danil Alexeev d00eb58381 GDScript: Fix warning ignoring for member variables
(cherry picked from commit c2fbb40e9a)
2023-06-16 20:55:20 +02:00
Hugo Locurcio e46b14fd30 Move code to Windows Vulkan context initialization context
This workaround is not needed for rendering drivers other than Vulkan.

(cherry picked from commit 950c5b57e4)
2023-06-16 17:27:11 +02:00
Hugo Locurcio 30f079ecb5 Disable AMD switchable graphics on Windows with Vulkan to fix driver issue
This is a required workaround on setups with AMD integrated graphics
+ NVIDIA dedicated GPU to be able to start the engine with the Forward+
or Forward Mobile rendering methods.

While a AMD driver update can resolve this issue, it still gets reported
regularly and is likely to become a source of support headache for people
distributing projects made with Godot (as this also affects exported projects).

(cherry picked from commit 31a9345189)
2023-06-16 17:27:10 +02:00
DeeJayLSP d6d232a881 Update certs (2023.06 revision)
(cherry picked from commit 504e002224)
2023-06-16 17:22:13 +02:00
Rémi Verschelde 142e648000 msdfgen: Sync with upstream 1.10
(cherry picked from commit 3c25dfe0e4)
2023-06-16 17:22:13 +02:00
Rémi Verschelde e027c44fe6 brotli: Sync with upstream commit ed1995b6b
ed1995b6bd
(cherry picked from commit 7770e4447d)
2023-06-16 17:19:16 +02:00
Rémi Verschelde 84b9202d87 recast: Update to upstream version 1.6.0
Release notes:
- https://github.com/recastnavigation/recastnavigation/releases/tag/v1.6.0

(cherry picked from commit 2058b63067)
2023-06-16 17:19:16 +02:00
Rémi Verschelde d5d02b9a85 wslay: Sync with upstream 0e7d106ff
0e7d106ff8

Just a couple style fixes. Updating only so we know we don't have to review changes
since upstream development seems dormant.

(cherry picked from commit adfc46db4d)
2023-06-16 17:19:16 +02:00
Rémi Verschelde b686a30a2c zstd: Update to upstream version 1.5.5
Release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.3
- https://github.com/facebook/zstd/releases/tag/v1.5.4
- https://github.com/facebook/zstd/releases/tag/v1.5.5

(cherry picked from commit 6100b4bd33)
2023-06-16 17:19:16 +02:00
Rémi Verschelde 5f60f4cdbf tinyexr: Sync with upstream 1.0.5
(cherry picked from commit 56d85149e5)
2023-06-16 17:19:15 +02:00
bitsawer b845bf8adc tinyexr: Sync with upstream 1.0.4
(cherry picked from commit ca55c455ad)
2023-06-16 17:19:15 +02:00
Rémi Verschelde 3e2c9077dc tinyexr: Sync with upstream 1.0.2
Fixes a bunch of bugs, notably addressing fuzzer reports (crashes).
https://github.com/syoyo/tinyexr/releases/tag/v1.0.2

(cherry picked from commit c5834eb972)
2023-06-16 17:19:15 +02:00
Lyuma e9ee7bdc9b Fix Node class in MSVC debugger for dev_build
(cherry picked from commit b3a83b7c4e)
2023-06-16 17:19:15 +02:00
Hugo Locurcio 3d61653e45 Document the InitialAction enum in RenderingDevice
This also improves the documentation for the FinalAction enum,
and fixes an incorrect comment in the RenderingDevice header.

(cherry picked from commit 0f82a0f569)
2023-06-16 16:37:38 +02:00
Michael Alexsander 227de95dbb Remove inaccuracy about re-using `Thread`s in its doc
(cherry picked from commit c1e5001cf6)
2023-06-16 16:37:38 +02:00
Eranot bb7e88e52a Fixing parameter order in the documentation of TLSOptions.server()
(cherry picked from commit 4965125fce)
2023-06-16 16:37:38 +02:00
Ninni Pipping 2337d825c1 Clarify use of size flags in `Control`
(cherry picked from commit 6146c60cf8)
2023-06-16 16:37:38 +02:00
Peter Anderson 23dc7047ad Add Stretch Mode description to ProjectSettings.xml
Update doc/classes/ProjectSettings.xml

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
(cherry picked from commit 77a61084aa)
2023-06-16 16:34:20 +02:00