Commit Graph

66261 Commits

Author SHA1 Message Date
A Thousand Ships d51be1f68d
[Buildsystem] Improve cache handling
Prevents cache issues by not purging cache before starting a build.
Splits cache purge related code from progress code and delays the purge
until after final build is done.

(cherry picked from commit acffc53e01)
2024-09-17 08:57:45 +02:00
Rudolph Bester 3fac9e43af
Fixed OpenGL shadow textures not honoring texture type when reusing textures
(cherry picked from commit 359aaa48ee)
2024-09-17 08:57:44 +02:00
Haoyu Qiu 1d790deedb
Fix parsing of `4.` in Expression
(cherry picked from commit ee9cea521d)
2024-09-17 08:57:44 +02:00
kleonc 88370e44d8
Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap
(cherry picked from commit ab504b3139)
2024-09-17 08:57:44 +02:00
shahriarlabib000 c7a173aa60
Fix directory empty bug on Android
(cherry picked from commit 8f66513bad)
2024-09-17 08:57:44 +02:00
Yaohua Xiong e7e723b3e3
Do not defer PathFollow3D transform updates
Co-authored-by: Yaohua Xiong <xiongyaohua@gmail.com>
(cherry picked from commit 51b8b74d4b)
2024-09-17 08:57:44 +02:00
Praytic 281642831c
Enable MSAA support for all non-web platforms
MSAA support is built into GLES3 core, eliminating the need to check for GL_EXT_framebuffer_multisample, which was necessary only in GLES2 due to the lack of inherent multisample framebuffer support. This commit corrects an oversight from GLES2-based code, ensuring compatibility with GLES3 where multisampling is natively supported without extensions.

(cherry picked from commit fc955fa89f)
2024-09-17 08:57:44 +02:00
bruvzg 6b7f36e2a9
[Windows] Fix broken apksigner detection.
(cherry picked from commit 2c991a727b)
2024-09-17 08:57:44 +02:00
Pedro J. Estébanez f757cc9a70
RenderingDevice: Fix uncapped mipmap sizes causing div-by-zero
(cherry picked from commit 7f1989bac1)
2024-09-17 08:57:44 +02:00
ajreckof cab91cf8fb
fix clear button on Array[Node]
(cherry picked from commit dee0453b57)
2024-09-17 08:57:44 +02:00
Adam Scott 0b815cbb99
Fix leak when using audio samples instead of streams
(cherry picked from commit d3ddce6b88)
2024-09-17 08:57:44 +02:00
Pedro J. Estébanez f11f9e3b7f
AudioServer: Fix code style issues
- Drop STL copy in favor of old-school for loops.
- Be explicit about loads and stores to atomic value. (This also fixes an error in certain compiler toolchains.)

(cherry picked from commit 1cc485ba1f)
2024-09-17 08:57:44 +02:00
A Thousand Ships b2b882cc1d
Fix super call in various `get_configuration_warnings` methods
(cherry picked from commit 9dc231366d)
2024-09-17 08:57:44 +02:00
Gustavo Jaruga Cruz f5b5b6cbfe
Fix interactive audio transitions fade in for clips with auto_advance
(cherry picked from commit 4fa6287de1)
2024-09-17 08:57:44 +02:00
RedMser 02c45088ea
Fix "reparent to new node" when node has internal children
(cherry picked from commit 8da49ab947)
2024-09-17 08:57:44 +02:00
RedMser 7f0cc1aa35
Fix "reparent to new node" not remembering index
(cherry picked from commit b11ccf3c77)
2024-09-17 08:57:44 +02:00
kleonc 21a0a84c6f
Fix StyleBoxFlat rectangles skewing independently
(cherry picked from commit 86c773d208)
2024-09-17 08:57:44 +02:00
jsjtxietian fb1758ce23
Fixes godot crash or give unclear message when exporting with invalid args
(cherry picked from commit 1d09970404)
2024-09-17 08:57:44 +02:00
Danil Alexeev c4525f24e3
GDScript: Do not produce `UNUSED_SIGNAL` warning for common implicit uses
(cherry picked from commit d1e2afaae3)
2024-09-17 08:57:43 +02:00
Giganzo 61b2ad9242
Fix Set Frame Title popup position
(cherry picked from commit 7d78d753b5)
2024-09-17 08:57:43 +02:00
smix8 d7a8654edd
Fix 2D debug navigation flickering with tile maps
Both the tile map layers and the debug navigation canvas items did fight for the same z order causing a lot of flickering in certain situations.

(cherry picked from commit 5bedaf77f7)
2024-09-17 08:57:43 +02:00
Giganzo 1629e9b1fa
Fix shift clicking on Add Sun/Environment to Scene buttons
(cherry picked from commit 1b6af3acd3)
2024-09-17 08:57:43 +02:00
A Thousand Ships 3783527410
[Editor] Fix handle ID being passed for 3D Gizmo plugins
(cherry picked from commit 62d98c6f02)
2024-09-17 08:57:43 +02:00
A Thousand Ships 00866dc80a
[Editor] Prevent duplicate `Open in Editor` buttons in scene tree dock
Duplicate buttons were added when editor description changed

(cherry picked from commit ab04d76e0e)
2024-09-17 08:57:43 +02:00
Hilderin d842870331
Fix selection stuck after saving scene
(cherry picked from commit 613d4d10cb)
2024-09-17 08:57:43 +02:00
detomon 2635ff777e
Prevent editing value on focus when `EditorSpinSlider` is read-only
(cherry picked from commit 88f1b679f3)
2024-09-17 08:57:43 +02:00
ev13bird cbcc5f8d19
Fix instant transformations not being committed when used in succession
Also:
- Fix holding down keys repeatedly committing instant transformations, and disallow starting instant during non-instant
- Fix echoed inputs starting new instant transformations after clicking to confirm, and disallow left mouse release committing instant transformations

(cherry picked from commit 060a1a0899)
2024-09-17 08:57:43 +02:00
A Thousand Ships 64cbde426f
[Editor] Don't show popup when clicking empty in Favorites
(cherry picked from commit d2a8b330d8)
2024-09-17 08:57:43 +02:00
bruvzg b1c1c40250
[Windows] Use the same API for all `OS_Windows::*_environment` functions.
(cherry picked from commit 319bfa9965)
2024-09-17 08:57:43 +02:00
clayjohn e09cada53f
Only use backbuffer mipmaps in SCREEN_TEXTURE when generated.
(cherry picked from commit d2f5c1a552)
2024-09-17 08:57:43 +02:00
Alexis Breust 2b05cf154a
Sky: No more auto-selecting REALTIME mode if radiance is not 256
(cherry picked from commit 44e526d3d5)
2024-09-17 08:57:43 +02:00
Arsh Panesar 26cc13705a
Fix `AnimationPlayer` crash when it's made the scene root
When an AnimationPlayer is made root of a scene,
the track links may become broken and clicking on
them will crash.

Current master branch also breaks node links when
AnimationPlayer is made scene root, and can also
crash the engine if another node was made scene
root prior to the AnimationPlayer.

This happens because when made root, the editor
loses track of AnimPlayer's root node. By keeping
a copy of the AnimPlayer's root_node, the track
links remain functional.

Fixes #91043.

(cherry picked from commit e905be8249)
2024-09-17 08:57:43 +02:00
Radiant af8caffd0e
Fix shadow mesh recursion.
(cherry picked from commit 70860aafd8)
2024-09-17 08:57:43 +02:00
aaronp64 ec20c3ff76
Fix Array.sort_custom example code
Array.sort_custom descending sort example was comparing index 0, but had expected result based on comparing index 1.  Updated to use index 1 consistently.

(cherry picked from commit 39ca8b4e23)
2024-09-17 08:57:43 +02:00
aaronp64 a2f64b3c10
Fix SubViewport/AudioStreamPlayer2D crash
Updated Viewport destructor to remove itself from World2D, to avoid World2D keeping invalid pointers.

(cherry picked from commit 7a9acd5aca)
2024-09-17 08:57:42 +02:00
kobewi fc5e7c7411
Fix Path2D splitting
(cherry picked from commit 7e7a4f238b)
2024-09-17 08:57:42 +02:00
Giganzo 1e5d7a0907
Fix floating window corner radius
(cherry picked from commit 308186a89e)
2024-09-17 08:57:42 +02:00
Hilderin 4d0f10a543
Fix missing material override after two glb reimports
(cherry picked from commit 79d0254a2d)
2024-09-17 08:57:42 +02:00
kerstop f8c9ec3f37
fix deadzone slider not working correctly
(cherry picked from commit 2fd39eca30)
2024-09-17 08:57:42 +02:00
bruvzg fd17fae4bd
[RTL] Do not add final newline to the paragraph context.
(cherry picked from commit 02113dff83)
2024-09-17 08:57:42 +02:00
clayjohn b1fda8f5c4
Avoid indexing instances without a base in scene cull phase
(cherry picked from commit b5fd29e7bc)
2024-09-17 08:57:42 +02:00
clayjohn 1250b4568a
Various fixes for transmittance effect
Use correct shadow sampling for omni and spot lights

Disable transmittance if shadows are disabled

Correct DirectionalLight transmittance bias to match shadow bias (its still pretty sensitive though)

(cherry picked from commit d61fae36f3)
2024-09-17 08:57:42 +02:00
ComycSans 430a69baed
Fix SkyRD::Sky::free() freeing material
(cherry picked from commit 09e59fbec5)
2024-09-17 08:57:42 +02:00
Silc Lizard (Tokage) Renew b60bf28a2f
Fix physical bone update without simulating
(cherry picked from commit f2186eeac0)
2024-09-17 08:57:42 +02:00
NotWearingPants 5567fedd04
NoiseTexture2D/3D: Don't use a thread to regenerate when the build doesn't support threads
(cherry picked from commit b47b98db34)
2024-09-17 08:57:42 +02:00
Fabio Alessandrelli 1a5ac1fd59
[MP] Fix division by zero in network profiler
The debugger reports synchronizers with empty state to the editor
even if no data is being sent to other peers.

The editor conditional to avoid division by zero was checking the wrong
variable.

(cherry picked from commit 042b264c55)
2024-09-17 08:57:42 +02:00
Haoyu Qiu e72e42fe9b
Fix collapsing TreeItem not updating horizontal scrollbar
(cherry picked from commit d16dcbb3ac)
2024-09-17 08:57:42 +02:00
Lars Pettersson f783cf7b81
Fix Polygon2D UV editor error when opening grid settings
(cherry picked from commit 5a0a0257e1)
2024-09-17 08:57:42 +02:00
viksl f3848b75cb
Fixes alpha materials being rendered with a reverse cull which is visible in reflections from reflection probes.
(cherry picked from commit 929c69bad8)
2024-09-17 08:57:42 +02:00
David Snopek 19843328d9
GDExtension: Show warning on missing PDB file, rather than error
(cherry picked from commit 760099ca6f)
2024-09-17 08:57:42 +02:00