Commit graph

62702 commits

Author SHA1 Message Date
A Thousand Ships
f2d4ff5c1f
Add instructions to get shape of RayCast2D/3D
Adds details on how to get the intersected shape
2024-04-07 11:42:30 +02:00
Rémi Verschelde
e5b4ef8e95
Merge pull request #90283 from YeldhamDev/pure_squares
Remove border roundness inside panels of `AcceptDialog` windows
2024-04-06 13:07:01 +02:00
Rémi Verschelde
66dbe3591b
Merge pull request #90280 from TheSofox/duplicated-folder-reference-fix
Fix duplicated folder reference in Godot Editor after changing filename case
2024-04-06 13:06:57 +02:00
Rémi Verschelde
92afd2c417
Merge pull request #90278 from KoBeWi/self_dropping_resources
Prevent dropping Resource to the same resource picker
2024-04-06 13:06:53 +02:00
Rémi Verschelde
dd9aacd59f
Merge pull request #90273 from Pylgos/fix-gdextension-get-rid
Fix `Resource::get_rid override` not working in GDExtension
2024-04-06 13:06:50 +02:00
Rémi Verschelde
c1b2cfdced
Merge pull request #90271 from DarioSamo/pipeline_cache_setting
Add toggle for enabling or disabling RenderingDevice's pipeline cache.
2024-04-06 13:06:47 +02:00
Rémi Verschelde
c10f9342df
Merge pull request #90270 from Repiteo/scons/clean-generated
SCons: Ensure *all* generated files can be cleaned
2024-04-06 13:06:43 +02:00
Rémi Verschelde
8bbb027c79
Merge pull request #90263 from Jordyfel/undo-redo-doc
Clarify `UndoRedo` `MergeMode` and `add_*_reference` docs
2024-04-06 13:06:40 +02:00
Rémi Verschelde
10d67e590d
Merge pull request #90191 from BastiaanOlij/fix_mobile_canvas_copy
Don't use subpasses when we're using Canvas background mode in Mobile
2024-04-06 13:06:37 +02:00
Rémi Verschelde
554c0af5d4
Merge pull request #90186 from Maran23/error-when-rename-move
Fix errors when renaming/moving/deleting global scripts
2024-04-06 13:06:32 +02:00
Rémi Verschelde
d619ffdb75
Merge pull request #89897 from alesliehughes/upnp_memory_leak
UPNP: Use local variable for UPNPUrls to stop memory leak.
2024-04-06 13:06:28 +02:00
Rémi Verschelde
4e45511d38
Merge pull request #89817 from timothyqiu/better-family-name
Prefer family name in fonts' names table
2024-04-06 13:06:25 +02:00
Rémi Verschelde
02fc6b2eb9
Merge pull request #89617 from Nazarwadim/plane_project_unit_tests
Add unit test for Vector2 `plane_project`
2024-04-06 13:06:21 +02:00
Rémi Verschelde
e6d0d0b391
Merge pull request #89406 from AeioMuch/drag_drop_array_nodes
Allow batch drag and drop in typed array of Node and NodePath.
2024-04-06 13:06:18 +02:00
Rémi Verschelde
6a4ff44057
Merge pull request #89389 from TokageItLab/disc
Make AnimationMixer consider Discrete for RESET track
2024-04-06 13:06:14 +02:00
Rémi Verschelde
c7d64c3834
Merge pull request #88375 from smix8/navserver_dummy_warnings
Remove NavigationServerDummy warnings
2024-04-06 13:06:10 +02:00
Rémi Verschelde
02cb74e223
Merge pull request #84363 from RandomShaper/win_focus_activ
Robustify handling of activation & focus on Windows
2024-04-06 13:06:04 +02:00
Haoyu Qiu
9bcda8f94c Prefer family name in fonts' names table 2024-04-06 16:08:59 +08:00
AeioMuch
409c71bdfd Allow batch drag and drop in typed array of Node and NodePath. 2024-04-06 08:18:44 +02:00
Michael Alexsander
167b0ac8d5
Remove border roundness inside panels of AcceptDialog windows 2024-04-06 00:01:16 -03:00
smix8
a67037635b Remove NavigationServerDummy warnings
Removes NavigationServerDummy warnings.
2024-04-06 03:07:22 +02:00
Sofox
87b5a56ddf Fix duplicated folder reference in Godot Editor after changing filename case 2024-04-05 21:38:48 +01:00
Silc Lizard (Tokage) Renew
21082a6834 Make AnimationMixer consider Discrete for RESET track 2024-04-06 05:37:45 +09:00
kobewi
b9c78ba174 Prevent dropping Resource to the same resource picker 2024-04-05 22:26:29 +02:00
nazarii
b8caf9b224 Add unit test for Vector2 plane_project 2024-04-05 21:57:01 +03:00
Jordyfel
491d3a2740 Clarify UndoRedo MergeMode and add_*_reference docs 2024-04-05 20:05:56 +03:00
Marius Hanl
dda06a8209 Fix errors when renaming/moving/deleting global scripts
When renaming or moving global scripts, the following errors can appear:
- Attempt to open script 'xxx' resulted in error 'File not found'.
- Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once.
- Parser Error: Class 'xxx' hides a global script class.

When deleting scripts, errors appear when opening the 'Create Node Dialog' as the script cache still contains the removed global scripts. The following errors can appear:
- Attempt to open script 'xxx' resulted in error 'File not found'.
- Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once.
editor/create_dialog.cpp:241 - Condition "scr.is_null()" is true.

All this errors can be fixed by correctly handling the cases. They involves removing the old path and adding the new one (if not deleted) to the ScriptServer. This is somewhat similar if the file is moved or deleted outside Godot and detected by the file watcher, but more specialized for this particular usecase, since we know the old and the new path / correctly know what the user just did.
2024-04-05 18:52:15 +02:00
Pylgos
c2be2dfbde Fix Resource::get_rid override not working in GDExtension 2024-04-06 01:27:16 +09:00
Dario
ecaafa6001 Add toggle for enabling or disabling RenderingDevice's pipeline cache. 2024-04-05 13:14:07 -03:00
Thaddeus Crews
ccb5e15ac2
SCons: Ensure *all* generated files can be cleaned 2024-04-05 10:49:44 -05:00
Rémi Verschelde
655e93d584
Merge pull request #90266 from akien-mga/scenetreeeditor-fix-treeitem-crash
SceneTreeEditor: Fix crash when TreeItem is removed before callback
2024-04-05 17:23:03 +02:00
Rémi Verschelde
c493217947
Merge pull request #90265 from ajreckof/Fix-crash-on-invalid-values-in-EditorPropertyArray/Dict
Fix crash on invalid values in EditorPropertyArray/Dict
2024-04-05 17:23:00 +02:00
Rémi Verschelde
a8e7688b67
Merge pull request #90251 from akien-mga/squish-cleanup
squish: Clean up patches, add LICENSE.txt
2024-04-05 17:22:57 +02:00
Rémi Verschelde
1765f08aee
Merge pull request #90244 from akien-mga/enet-2024-03
enet: Sync with upstream commit c44b7d0
2024-04-05 17:22:54 +02:00
Rémi Verschelde
6b8daa498e
SceneTreeEditor: Fix crash when TreeItem is removed before callback
Fixes #90235.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-04-05 16:53:33 +02:00
ajreckof
866452c75e Fix crash on invalid values in EditorPropertyArray/Dict 2024-04-05 16:42:21 +02:00
Rémi Verschelde
febb11f8a3
Merge pull request #90261 from adamscott/remove-buggy-first-interaction
Remove buggy first interaction
2024-04-05 15:18:01 +02:00
Adam Scott
56686cd1fb
Remove buggy first interaction 2024-04-05 08:45:42 -04:00
Rémi Verschelde
7e4c150573
SCons: Fix up build with Python 3.10
It gives:

> SyntaxError: f-string expression part cannot include a backslash

Follow-up to #90214.
2024-04-05 13:14:41 +02:00
Rémi Verschelde
4ff5731705
Merge pull request #90246 from rburing/fti_2d_per_node
Fix per-node physics interpolation setting
2024-04-05 12:16:51 +02:00
Rémi Verschelde
6a64e5a797
Merge pull request #90233 from Arthas92t/master
Fix OpenGL `_shadow_atlas_find_shadow` error when light instance is freed
2024-04-05 12:16:48 +02:00
Rémi Verschelde
4d20840b11
Merge pull request #90231 from TokageItLab/mod-reset
Remove unavailable property binding `reset_on_save` from Skeleton3D
2024-04-05 12:16:44 +02:00
Rémi Verschelde
383de7da19
Merge pull request #90225 from aaronfranke/gltf-ext-prop-list
GLTF export: Propagate `property_list_changed` from extensions
2024-04-05 12:16:41 +02:00
Rémi Verschelde
ecbd668ff3
Merge pull request #90223 from clubby789/optimize-static
Don't pass `self` when calling a static function from a non-static context
2024-04-05 12:16:38 +02:00
Rémi Verschelde
0ff056ea2e
Merge pull request #90218 from Repiteo/do-while-false-cleanup
Update lingering `do/while(0)` defines
2024-04-05 12:16:34 +02:00
Rémi Verschelde
63db50654a
Merge pull request #90217 from Calinou/editor-decal-allow-greater-emission-energy
Allow Decal Emission Energy values above 128 in the inspector
2024-04-05 12:16:31 +02:00
Rémi Verschelde
7a941d84dd
Merge pull request #90214 from Repiteo/scons/selected_platform-refactor
SCons: Refactor `selected_platform` conditional
2024-04-05 12:16:28 +02:00
Rémi Verschelde
ba8ab2f78d
Merge pull request #90211 from akien-mga/certs-2024-03
certs: Sync with Mozilla bundle as of Mar 11, 2024
2024-04-05 12:16:25 +02:00
Rémi Verschelde
d100888f0d
Merge pull request #90208 from Repiteo/scons/ninja-msvc
SCons: Fix Ninja compilation with MSVC
2024-04-05 12:16:22 +02:00
Rémi Verschelde
ca2d28602b
Merge pull request #90196 from bruvzg/ts_tcase
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-05 12:16:18 +02:00