Commit Graph

66295 Commits

Author SHA1 Message Date
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
Hilderin 1e9f578740
Fix no unsaved indicator Save As resource
(cherry picked from commit b97c128b34)
2024-09-17 08:57:42 +02:00
clayjohn 0a1724f713
Use correct lightmap coefficients to ensure that the directional lightmap mode looks correct
Also remove the metallic option from directional lightmap as it is guaranteed to return negative numbers in many cases

(cherry picked from commit f4ccba7508)
2024-09-17 08:57:41 +02:00
Leonardo Demartino e79157af72
Only main binaries require entitlements. This fixes signing issues on macOS.
(cherry picked from commit 0a57dd4682)
2024-09-17 08:57:41 +02:00
Hristo Iliev 6ab9ec33f2
Add modf function and fix snap behavior
Fixes #96159

(cherry picked from commit fcc8518bce)
2024-09-17 08:57:41 +02:00
MBCX 4acc73dbfa
Make sure huf_decompress is only applied to 64-bit x86.
(cherry picked from commit 6b13236956)
2024-09-17 08:57:41 +02:00
kleonc e549ab35fa
Fix SceneTreeDock invalid state after trying to remove internal Node
(cherry picked from commit 5ae85a4fb9)
2024-09-17 08:57:41 +02:00
RedOrbweaver 43fa723659
Fix build logger unable to handle an event without an associated file
(cherry picked from commit 81799b8fa3)
2024-09-17 08:57:41 +02:00
passivestar 1c9ba616d5
Fix missing project date showing the unix epoch
(cherry picked from commit 6ed54ab9ba)
2024-09-17 08:57:41 +02:00
DeeJayLSP 682ee73f64
Fix memory leak on QOA import
(cherry picked from commit e67cc73463)
2024-09-16 17:25:14 +02:00
David Snopek 9946eba398
Windows: Call `AddDllDirectory()` with an absolute path
(cherry picked from commit e8bd385f53)
2024-09-16 17:24:05 +02:00
Saracen 30bba8745c
Fix crash when selecting ownerless 3D node.
(cherry picked from commit 279ccd6d32)
2024-09-16 17:23:54 +02:00
Togira c4351c8d98
Fix RandomPCG::rand_weighted incorrectly returning -1
(cherry picked from commit ab13513403)
2024-09-16 17:23:44 +02:00
jsjtxietian e2184c5da0
Support opening custom class documentation with "Open Documentation" menu entry
(cherry picked from commit b5fa2a3d3a)
2024-09-16 17:23:31 +02:00
kit 4fabc1ba58
Fix script overwriting with external editor
(cherry picked from commit 23927c3d9b)
2024-09-16 17:23:16 +02:00
kleonc 4d7feff723
Fix snapping when zoomed in Polygon2D UV editor
(cherry picked from commit 1b7626f391)
2024-09-16 17:22:50 +02:00
Fabio Alessandrelli 1d775b5b97
[mbedTLS] Fix incorrect cert pinning with client_unsafe
(cherry picked from commit ccae47ab66)
2024-09-16 17:22:33 +02:00