Commit Graph

59289 Commits

Author SHA1 Message Date
CardboardCarl d11ef2d908 Clarified behavior of RayCast objects when get_collision_point() is used inside a collision shape
(cherry picked from commit 6dfec4f70d)
2024-01-24 16:38:28 +01:00
A Thousand Ships 0c00f3ece2 Redraw `TreeItem` on more changes
* Custom font changes
* Custom draw changes
* Custom as button

(cherry picked from commit 552594ffdc)
2024-01-24 16:38:28 +01:00
Bartłomiej T. Listwon c8bb637c57 Prevent overriding file info of another file when reimport creates files
(cherry picked from commit aae48ac2b6)
2024-01-24 16:38:28 +01:00
jsjtxietian ce34a9b9a1 Fix CollisionObject3D Gizmo not updated after calling shape_owner_* functions
(cherry picked from commit 80a488a242)
2024-01-24 16:38:28 +01:00
Occalepsus c12a46d3f4 Fix body leaving area gravity influence
(cherry picked from commit 492f1c2406)
2024-01-24 16:38:28 +01:00
Erik Johnson 837aeeac89 Add descpription for rendering/limits/spatial_indexer/threaded_cull_minimum_instances
(cherry picked from commit 498f46063d)
2024-01-24 16:38:28 +01:00
31 853b505228 Include animation.length in Animation example
The length of an Animation isn't automatically set by adding keys, and
it must be set manually. The existing example only has keys up to 0.5s,
so the default value of 1.0s may be acceptable. However, this results in
unexpected behavior for anyone who makes an animation longer than 1.0s.
Include animation.length in the example because it's important.

Also, increase the key position to 2.0s so it won't be confusing that
the assignment is somewhat redundant.

(cherry picked from commit 698c67d540)
2024-01-24 16:38:28 +01:00
Alessandro Famà acaa906093 Fix Dummy audio driver initialization issue on WASAPI output device initialization failure
`AudioDriverWASAPI::init` consistently returns `Error::OK`, even when encountering a failure during the initialization of the output device. This behaviour blocks the dummy driver from initializing in `AudioDriverManager::initialize`.

(cherry picked from commit 998078f8d7)
2024-01-24 16:38:27 +01:00
Micky 55baf9fc58 Add missing descriptions to PrimitiveMesh and SoftBody3D
(cherry picked from commit a33777d49d)
2024-01-24 16:38:27 +01:00
A Thousand Ships b7c01ed6e9 Fix invalid 3-to-4 renames of `add_animation` to `add_animation_library`
This rename breaks `SpriteFrames` and also isn't valid as the new method
takes an `AnimationLibrary`, not an `Animation`

(cherry picked from commit 4b7ea9fe47)
2024-01-24 16:38:09 +01:00
BlueCube3310 90a29fb844 Fix BasisUniversal ETC RA_AS_RG transcoding
(cherry picked from commit 51ad937532)
2024-01-24 16:29:32 +01:00
Hugo Locurcio 4ee5b33875 Document changing the window's resizable status at runtime
(cherry picked from commit d6768a17fa)
2024-01-24 16:01:59 +01:00
Micky 02e95d5a08 Fixing some reports to String's documentation
Closes https://github.com/godotengine/godot-docs/issues/8043
Closes https://github.com/godotengine/godot-docs/issues/8044
Mitigates https://github.com/godotengine/godot-docs/issues/8190
Closes https://github.com/godotengine/godot/issues/86734

(cherry picked from commit 46b0f3e9d6)
2024-01-24 16:01:59 +01:00
jsjtxietian 5f9ed5418d Mention CollisionPolygon2D.polygon is local to the given CollisionPolygon2D
(cherry picked from commit f5409dc132)
2024-01-24 16:01:58 +01:00
Micky a327fb14fb Add missing descriptions for Image's documentation
(cherry picked from commit e01b91777a)
2024-01-24 16:01:58 +01:00
Hugo Locurcio 16b6190408 Make the rendering method dropdown also affect mobile if compatible
This prevents visual discrepancies between desktop and mobile platforms
after switching rendering methods using this dropdown.

The restart dialog now displays which rendering methods will be used,
and the dropdown tooltip also lists caveats related to specific platforms.

(cherry picked from commit 57f3bdb1e5)
2024-01-24 16:01:58 +01:00
Micky c89cf8476c Add missing descriptions to TextServer's constants
(cherry picked from commit d3150c9c8f)
2024-01-24 15:57:59 +01:00
clayjohn 52b3d2915a Only copy the relevant portion of the screen when copying to backbuffer in Compatibility backend
(cherry picked from commit e69968b794)
2024-01-24 15:57:59 +01:00
Rémi Verschelde ed06389a34 Style: Mark clang-format 16 as supported for pre-commit hook
It only introduced a difference in a .glsl file, which I've worked
around by removing an empty line. This keeps formatting consistent
between clang-format 15 and 16.

Also added a change in the 3-to-4 project converter to fix bogus
formatting in clang-format < 17.

(cherry picked from commit 49f4860ce3)
2024-01-24 15:57:59 +01:00
Quincy Wofford 59b50775dd corrected tooltip information Roll Influence property of VehicleWheel3D
(cherry picked from commit c979d02db2)
2024-01-24 15:57:59 +01:00
Hugo Locurcio a35a0935fb Improve RichTextLabel `install_effect()` documentation
(cherry picked from commit 78fff7292c)
2024-01-24 15:57:58 +01:00
Fabio Alessandrelli 240f7dc21e [MP] Fix complete_auth notifying the wrong peer
The SceneMultiplayer complete_auth method was not configuring the
multiplayer peer correctly, causing it to potentially send the
notification to the wrong peer, on the wrong channel, and/or with an
incorrect transfer mode.

(cherry picked from commit 4826c14d20)
2024-01-24 15:57:58 +01:00
Michael Macha 6bed401499 Remove pointer to deprecated class page, from Skeleton3D
SkeletonIK3D is now deprecated, but Skeleton3D is recommending looking into its use for complicated inverse kinematics. What's worse, the removed line is not perfectly clear for non-developers and people less experienced with the engine, and could still stand to be improved.

(cherry picked from commit 0e52ffeb69)
2024-01-24 15:57:58 +01:00
LunaticInAHat 26fa8d13eb Support unspecified linear size in DDS files
Not all exporters choose to populate that (optional) header field.

(cherry picked from commit a344d7f906)
2024-01-24 15:57:49 +01:00
Ricardo Subtil 74374b02a7 Fix DAP breakpoints being cleared on closed scripts
(cherry picked from commit 760ff2e933)
2024-01-24 15:56:51 +01:00
Bastiaan Olij b05514dd0d Fix radiance for sky in GLES stereo rendering
(cherry picked from commit e06ac4d40c)
2024-01-24 15:56:51 +01:00
kleonc b3977ad4c6 Fix Polygon2D to Skeleton2D transform calculation
(cherry picked from commit 41e4f3c215)
2024-01-24 15:56:50 +01:00
ShirenY 045b1d5990 Transform mesh's AABB to skeleton's space when calculate mesh's bounds.
(cherry picked from commit 27f71c4e78)
2024-01-24 15:56:50 +01:00
rsburke4 0224a60b43 Added error to catch conversion on invalid image
(cherry picked from commit dec2269bca)
2024-01-24 15:56:50 +01:00
Pedro J. Estébanez fe834981e1 Remove superfluous locking in RID owners in Vulkan RD
(cherry picked from commit 72bf8dfecf)
2024-01-24 15:56:50 +01:00
Pedro J. Estébanez c605bacdc9 Remove redundant explicit clears in the Vulkan RD
(cherry picked from commit 4964d9a083)
2024-01-24 15:56:50 +01:00
Fredia Huya-Kouadio 9822c13909 Update the validation logic for the package name:
- When using the project name, allow underscore (`_`) characters
- Send a warning instead of an error when the project name is modified to fit the package name format

(cherry picked from commit 0325568a9b)
2024-01-24 15:56:50 +01:00
kit c4383c0d47 fix dock visibility issues
(cherry picked from commit a2674463fa)
2024-01-24 15:56:50 +01:00
MrBBBaiXue d398b85697 Delete .lgtm.yml
LGTM has been acquired by Github, and all its features is replaced by Github Code Scanning.
So seems .lgtm.yml is no longer used.

(cherry picked from commit ee6cec1649)
2024-01-23 12:42:46 +01:00
bruvzg 4061f306e2
[macOS] Fix MoltenVK SDK detection after file location changes in 1.3.275.0.
(cherry picked from commit a2c1c01941)
2024-01-18 10:47:26 +01:00
Rémi Verschelde 1cb7d6f4f0
Merge pull request #86860 from rune-scape/rune-fix-lambda-hotswap2-4.2
[4.2] GDScript: Lambda hotswap fixes
2024-01-18 09:27:32 +01:00
Yuri Sizov 24c0d26af1
Merge pull request #86718 from TokageItLab/audio-cache-fix
[4.2] Fix Audio track crossfade in AnimationPlayer does not work
2024-01-15 14:49:08 +01:00
rune-scape 4d4ec47690 GDScript: Lambda hotswap fixes 2024-01-05 17:18:46 -08:00
Silc Lizard (Tokage) Renew d094b574bb Fix Audio track crossfade in AnimationPlayer does not work 2024-01-03 01:46:18 +09:00
Rémi Verschelde d5064a7d44
Bump version to 4.2.2-rc 2023-12-12 11:03:21 +01:00
Rémi Verschelde b09f793f56
Bump version to 4.2.1-stable 2023-12-11 22:14:04 +01:00
Rémi Verschelde 1dee633c91
i18n: Sync translations with Weblate 2023-12-11 22:08:59 +01:00
Adam Scott 5dd7623ecc
Set what were default values for some emscripten linkflags
- Set `-sSTACK_SIZE` to what it was before emscripten 3.1.27.
  It was renamed in 3.1.25 so also set `-sTOTAL_SIZE` for older
  versions for consistency.
- Set `-sDEFAULT_PTHREAD_STACK_SIZE` to what it was before 3.1.30.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 8e5fbd4348)
2023-12-11 20:26:44 +01:00
Yuri Sizov 67038ecd29
Merge pull request #86026 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.1) - 2nd batch
2023-12-11 14:45:26 +01:00
Yuri Sizov ed55f9d3e9 Update the changelog for 4.2.1 2023-12-11 14:12:18 +01:00
HolySkyMin fc15ffed1e GLES3: Skip batches with zero instance count while rendering
(cherry picked from commit 51dcb38840)
2023-12-11 12:43:30 +01:00
clayjohn 4cce0d9711 Ensure that 2D meshes use a proper input mask
The input mask was wrongly ignored in earlier versions. Now it is actually used so the input mask variable needs to be a valid number

(cherry picked from commit 777d6ae1c6)
2023-12-11 11:41:59 +01:00
Gilles Roudière 6e043b80f6 Fixes TileMap occluders
(cherry picked from commit fcb8d19de0)
2023-12-11 11:41:58 +01:00
Rémi Verschelde daeb1c7292
i18n: Sync translations with Weblate 2023-12-07 11:13:02 +01:00
Rémi Verschelde 9d22668b9f
Merge pull request #85784 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.1) - 1st batch
2023-12-07 11:12:40 +01:00