Commit graph

62910 commits

Author SHA1 Message Date
kobewi
63bff87d7d Fix PinJoint2D deferred call error 2024-04-07 12:21:40 +02:00
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
Fabio Alessandrelli
8addab785d [IO] Fix marshall decoding when script is NIL
We changed how scripts are binary serialized, and added a check to
ensure the new format is enforced, but there is still a case where the
old format (plain "prop"-"value" combo) is used, and that is when the
script is NIL.
2024-04-07 09:55:15 +02:00
ajreckof
609559c074 Fix strange visual bug with camera and external change. 2024-04-07 03:49:43 +02:00
Michael Alexsander
44e2c56daa
Fix built-in FileDialog appearing instead of the native one on some cases 2024-04-06 15:45:45 -03:00
Fabio Alessandrelli
e64aa4d25f [MP] Fix dead code doing unnecessary allocation
Probably a leftover from some old refactor.
2024-04-06 19:48:04 +02:00
Nông Văn Tình
316f253558 Show errors when solution file is missing in C# project
Fixes: #86591

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-04-07 00:25:34 +07:00
A Thousand Ships
47a8033698
[Doc] Clarify the behavior of Vector2/3.cross and mention parallel vectors 2024-04-06 19:10:41 +02:00
Kusok
c0cc9d2b5e Fix deprecated=no build 2024-04-06 23:13:38 +08:00
Emmanuel Ferdman
ea5ecc6b8e
fix: update the location of editor theme 2024-04-06 18:03:13 +03:00
David Snopek
025f2b8e7c Add intersects_ray() method to OpenXRCompositionLayer 2024-04-06 08:37:30 -05: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
Manpreet Singh
329d04d331 Windows: Add alt+space menu and fix window modes 2024-04-06 16:26:19 +05:30
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
Jason Lothamer
b250660ee9 fix issue where Light2D does not re-attach itself to new canvas when viewport worlds are shared 2024-04-05 17:38:42 -04:00
Andrew Morrow
5b5ec8f4dc
Bump github workflows to SCons 4.7 2024-04-05 17:09:10 -04: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
Valentin Arthur Thomas
f8c482b19a DebugView for Array and dictionary 2024-04-05 19:55:37 +02: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
kobewi
f0cbd388dc Ignore ERR_FILE_CANT_OPEN error when loading scene 2024-04-05 17:51:27 +02: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