1
0
Fork 0
Commit Graph

66325 Commits

Author SHA1 Message Date
Rémi Verschelde b51be503c5
Merge pull request #98877 from aaronfranke/4.3-gltf-preserve-visibility
[4.3] GLTF: Preserve node visibility on import
2024-12-05 01:09:51 +01:00
Rémi Verschelde 982e9aeb72
Merge pull request #93896 from Mickeon/documentation-object-boolean-context
[4.3] Add documentation note on Object's boolean context
2024-12-05 01:09:46 +01:00
Micky 2ad161a4c7 Add documentation note on Object's boolean context 2024-11-28 20:48:51 +01:00
Rémi Verschelde 711c725cf1
Merge pull request #99108 from RandomShaper/win_less_inheritance_4.3
[4.3] Windows: Avoid child processes inheriting all file handles
2024-11-15 19:08:25 +01:00
Rémi Verschelde 305bdbfb3b
Merge pull request #99058 from UnfavorableEnhancer/animation_snapping_fix
[4.3] Fix animation snapping in seconds mode
2024-11-15 19:08:22 +01:00
Rémi Verschelde 758a42196c
Merge pull request #98964 from RandomShaper/fix_classdb_deadlock_4.3
[4.3] Fix deadlocks related to ClassDB queries about global classes
2024-11-15 19:08:18 +01:00
Rémi Verschelde f89d1e0376
Merge pull request #96606 from RandomShaper/res_loader_cherrypicks_4.3
[4.3] Cherry-picks related to `ResourceLoader`
2024-11-15 19:08:11 +01:00
Pedro J. Estébanez ce608dcbf7 Windows: Avoid child processes inheriting all file handles 2024-11-12 12:25:52 +01:00
UnfavorableEnhancer 178a126b92 fix animation snapping in seconds mode
fixes animation snapping rounding to weird values in seconds mode + fixes holding shift not reducing snap value
2024-11-11 13:18:36 +03:00
Aaron Franke 3a8d4cf5b8
[4.3] GLTF: Preserve node visibility on import 2024-11-08 14:27:14 -08:00
Pedro J. Estébanez a5f6e49862 Fix deadlocks related to ClassDB queries about global classes
`ClassDB::can_instantiate()` and other reflection methods deadlock if the type is an script global class, when such script indirectly uses a not-yet-registered class. The reason is the `ClassDB` read lock is still held when invoking the `ResourceLoader` to load the class script, which may in turn need to lock for writing (for the class registration).

In particular, this happens with some types related to animation tree, that aren't registered at engine startup, but can happen with others, especially ones from the user. Registration statements are also added for the animation-related types that were lacking them.
2024-11-08 18:17:53 +01:00
Pedro J. Estébanez a0c17446ad ResourceLoader: Report error if resource type unrecognized
Co-authored-by: Summersay415 <summersay415@gmail.com>

(cherry picked from commit fe21913ee8)
2024-11-06 14:31:27 +01:00
Rémi Verschelde 33c02a5c6b
certs: Sync with Mozilla bundle as of Oct 19, 2024
4d3fe6683f

Document matching mozilla-release changeset.

(cherry picked from commit eb41ff0fee)
2024-11-05 21:09:27 +01:00
bruvzg 3e6663cb8e
[macOS] Update Vulkan SDK install script.
(cherry picked from commit 74df6f192a)
2024-11-05 17:00:35 +01:00
Pedro J. Estébanez 9ed06bce54 EditorResourcePreview: Let loads complete after exit requested
(cherry picked from commit f31867d2b9)
2024-09-23 18:55:54 +02:00
Pedro J. Estébanez 251237d2b4 ResourceLoader: Fixup resource changed feature
This is a complement to: https://github.com/godotengine/godot/pull/96593

(cherry picked from commit 97197ff5e9)
2024-09-23 18:55:54 +02:00
Pedro J. Estébanez ea651a150b ResourceLoader: Add last resort life-time insurance for tokens
(cherry picked from commit ccd470d33c)
2024-09-23 18:55:54 +02:00
Pedro J. Estébanez f806cfb72b ResourceLoader: Add thread-aware resource changed mechanism
(cherry picked from commit 0f3ee922e07fd4d16d9ef6dac150beb9c84ac527)
2024-09-23 18:55:54 +02:00
Pedro J. Estébanez cd32705508 ResourceLoader: Simplify handling of unregistered tasks
(cherry picked from commit c450f4d667)
2024-09-23 18:55:53 +02:00
Kongfa Waroros f2d0f66eca Fix ResourceLoader is not verbosely printing a resource path on loading
(cherry picked from commit bfb5570c03)
2024-09-23 18:55:53 +02:00
Rémi Verschelde 6699ae7897
Update AUTHORS and DONORS list
(cherry picked from commit a1b081f45c)
2024-09-17 20:47:01 +02:00
Rémi Verschelde 53cde2eb85
i18n: Sync translations with Weblate
Adds Irish (ga) doc translations, and Bengali (bg) editor translations.
2024-09-17 20:46:20 +02:00
Rémi Verschelde 6225d39826
Merge pull request #97082 from akien-mga/4.3-cherrypicks
[4.3] Cherry-picks for the 4.3 branch (future 4.3.1) - 1st batch
2024-09-17 12:39:29 +02:00
patwork 3a2804a7e7
Fix for GLES3 radiance cubemap update
(cherry picked from commit 3038de4245)
2024-09-17 10:00:12 +02:00
Silc Lizard (Tokage) Renew 7b32e96f3d
Fix syncing PhysicalBone internal poses individually
(cherry picked from commit 2b3cf2451f)
2024-09-17 09:59:53 +02:00
Hilderin 15129c044e
Fix error reopening non existing scene on startup
(cherry picked from commit d06c7ad6f0)
2024-09-17 09:59:30 +02:00
Raffaele Picca 56a1d07421
Added a more detailed error message when instatiating a scene with missing export properties.
(cherry picked from commit 1df0159b36)
2024-09-17 09:59:13 +02:00
Pedro J. Estébanez 2c612abdd1
WorkerThreadPool: Fix end-of-yield logic potentially leading to deadlocks
(cherry picked from commit 5dade0e08b)
2024-09-17 09:55:10 +02:00
Rémi Verschelde f273c7c773
thorvg: Update to 0.14.10
More fixes to rendering of SVG files with broken text tags.

Also backports upstream patch to fix #97078.

(cherry picked from commit 0c0336f704)
2024-09-17 08:57:46 +02:00
Rémi Verschelde 99a8821a71
thorvg: Update to 0.14.9
Fixes #96491.

Update fix for #96262 to a simple revert of the problematic commit,
as the upstream fix is still being debated and caused other issues.

Also include fix for upstream regression 2715 added in 0.14.9.

(cherry picked from commit a6ab039f2b)
2024-09-17 08:57:46 +02:00
Rémi Verschelde 7a7e4129bd
thorvg: Update to 0.14.8, and workaround Bezier precision regression
Fixes #96262 by backporting https://github.com/thorvg/thorvg/pull/2702.

(cherry picked from commit 7375f9b923)
2024-09-17 08:57:46 +02:00
Rémi Verschelde 4abc358952
thorvg: Update to 0.14.7
Fixes #95861.

(cherry picked from commit f16d4af342)
2024-09-17 08:57:46 +02:00
Robert Cadena f7ad4dca8c
Remove debug print from Android `DisplayServer.screen_get_scale` implementation
(cherry picked from commit 42b0e91ee4)
2024-09-17 08:57:46 +02:00
bruvzg 35b4a1f374
[Windows] Emit native file dialog callback from event loop, fix selected options not saved.
(cherry picked from commit ea252675aa)
2024-09-17 08:57:46 +02:00
bruvzg 4944d59198
[Windows] Run native file dialogs in thread to make it non-blocking.
(cherry picked from commit 66832e9968)
2024-09-17 08:57:46 +02:00
Mounir Tohami 0a83f06608
Fix `VSlider` grabber area.
(cherry picked from commit 701188fd1e)
2024-09-17 08:57:46 +02:00
HolonProduction 03168cc9d1
LSP: Don't use smart resolve for completion
(cherry picked from commit 8155c1f836)
2024-09-17 08:57:46 +02:00
Silc Lizard (Tokage) Renew 47f34e8436
Add missing "Quad" capture TransitionType enum hint
(cherry picked from commit 8d30ccd067)
2024-09-17 08:57:46 +02:00
Daylily-Zeleen abe68d397e
Fix description of `Array.sort_custom()`
(cherry picked from commit c6f7c89149)
2024-09-17 08:57:46 +02:00
Hilderin 7246e1488e
Fix editor_doc_cache locked on editor startup
(cherry picked from commit e064efccbc)
2024-09-17 08:57:45 +02:00
HolonProduction a2e3c13451
LSP: Omit some values based on specification version 3.17
(cherry picked from commit 4d713d91b5)
2024-09-17 08:57:45 +02:00
Pedro J. Estébanez 3030d4b806
Object: Add tests about the safety of tail destruction
(cherry picked from commit bb77520599)
2024-09-17 08:57:45 +02:00
Pedro J. Estébanez 018f8be3d5
Object: Let debug lock handle callee destruction within call chain gracefully
Co-authored-by: lawnjelly <lawnjelly@gmail.com>
(cherry picked from commit 10e2318bde)
2024-09-17 08:57:45 +02:00
Lisandro Lorea d92f9017c6
Fix gamepad triggers not working on web exports
Fixes #81758

DisplayServerWeb::process_joypads handles buttons 6 and 7 of the
HTML5 Standard Gamepad as a special case by doing:
`input->joy_axis(idx, (JoyAxis)b, s_btns[b]);`

This doesn't work because there is no JoyAxis 6 or 7 in the enum

To fix this we use JoyAxis::TRIGGER_LEFT and TRIGGER_RIGHT for button 6
and 7

However since we are now lying to input->joy_axis we also need to lie in
the mappings for the standard gamepad in godotcontrollersdb.txt,
otherwise input->joy_axis will try to find a mapping to axis 4(LT) and
axis 5(RT) that's not defined.

Therefore we set lefttrigger to +a4 and righttrigger to +a5 in the
mapping, to match what we are actually sending.

A cleaner, and more involved fix to this would be modifying
input->joy_button so that it can handle analog buttons and map them to
axes preserving their value instead of converting to boolean

(cherry picked from commit 9dd372f316)
2024-09-17 08:57:45 +02:00
A Thousand Ships 34251cf5b3
[Windows] Use `GetFileTime` for `FileAccess`
Prevents DST from rearranging file times.

(cherry picked from commit 7139f46c9a)
2024-09-17 08:57:45 +02:00
Giganzo d00e4fbb16
Fix double lock/group buttons when starting editor with empty scene
(cherry picked from commit 96aa2f285c)
2024-09-17 08:57:45 +02:00
Giganzo 927d7a9250
Fix below what value is invalid in default_font_size doc
(cherry picked from commit 575a0b4dfb)
2024-09-17 08:57:45 +02:00
Giganzo 13701384ab
Fix slider size in compact mode
(cherry picked from commit f21a969bb9)
2024-09-17 08:57:45 +02:00
Hristo Iliev f4b71b5325
Fix polygon node losing its UV toolbar by adding a call to the show method when assinging a node.
Fixes #96238

(cherry picked from commit dabeaa6a4b)
2024-09-17 08:57:45 +02:00
DeeJayLSP 51c86eb085
WAV: Fix one frame overflow at the end
(cherry picked from commit 147accdf74)
2024-09-17 08:57:45 +02:00