Commit graph

62979 commits

Author SHA1 Message Date
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
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
David Snopek
fddf6dc651 Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node 2024-04-05 07:18:32 -05: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
d402f5ecf2
libktx: Update to 4.3.2 2024-04-05 12:18:00 +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
Rémi Verschelde
fe784573c4
Merge pull request #90167 from ajreckof/fix-negative-value-for-position_smoothing_speed-being-allowed
Ensure `Camera2D.position_smoothing_speed` is non-negative.
2024-04-05 12:16:14 +02:00
Rémi Verschelde
f2cc814f35
Merge pull request #90118 from AyOhEe/sln-title-fix
Fix "Create C# solution" dialog
2024-04-05 12:16:10 +02:00
Rémi Verschelde
4396fb48f8
Merge pull request #90062 from AlexOtsuka/fix-filesystemdock-drop
Fix FileSystemDock behavior when dropping an item in the current folder
2024-04-05 12:16:07 +02:00
Rémi Verschelde
b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +02:00
Rémi Verschelde
54116086af
Merge pull request #89956 from KoBeWi/warning!_self_destruct_sequence_activated
Remove Control z-index warning
2024-04-05 12:16:00 +02:00
Rémi Verschelde
fe25b18432
Merge pull request #89861 from dalexeev/editor-help-fix-csharp-crash
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-04-05 12:15:57 +02:00
Rémi Verschelde
b5064a6160
Merge pull request #89714 from lawnjelly/tighter_light_cull_colinear_fix
Tighter shadow culling - fix light colinear to frustum edge
2024-04-05 12:15:53 +02:00
Rémi Verschelde
3a73c04af6
Merge pull request #88840 from m4gr3d/update_android_export_advanced_options
Update the list of advanced export options for the Android platform
2024-04-05 12:15:48 +02:00
Rémi Verschelde
7744d59197
Merge pull request #85856 from smix8/tilemap_layers_parse
Make 2D navigation mesh baking parse all TileMapLayers
2024-04-05 12:15:43 +02:00
Rémi Verschelde
72f9f8d339
Merge pull request #83217 from paulloz/fix/81903-delegate-capture-serialization
[.NET] Fix serialization of delegates capturing variables
2024-04-05 12:15:36 +02:00
Rémi Verschelde
a88b4a4d56
zstd: Update to upstream version 1.5.6
Release notes:
- https://github.com/facebook/zstd/releases/tag/v1.5.6
2024-04-05 11:22:55 +02:00
Rémi Verschelde
594d165f64
squish: Clean up patches, add LICENSE.txt
Confirmed that there's no changes in upstream r110 worth including
compared to our r104 tagged version.
2024-04-05 11:12:03 +02:00
Rémi Verschelde
afe64bb517
miniupnpc: Update to 2.2.7
No change for the files we include.
2024-04-05 10:51:27 +02:00
Rémi Verschelde
8fcc7a52dc
harfbuzz: Update to 8.4.0 2024-04-05 10:35:10 +02:00
Ricardo Buring
e6b9161246 Fix per-node physics interpolation setting
The per-node default should be ON.
2024-04-05 10:30:19 +02:00
Rémi Verschelde
0f96251afe
glad: Re-generate files with glad 2.0.6 2024-04-05 10:20:13 +02:00
Rémi Verschelde
360a1a4568
enet: Sync with upstream commit c44b7d0
c44b7d0f7f
2024-04-05 10:12:29 +02:00
Rémi Verschelde
8de1cf566d
thorvg: Update to 0.12.10 2024-04-05 09:53:39 +02:00
ArthasMenethil
17e489b93d Fix OpenGL: _shadow_atlas_find_shadow: Condition "!sli" is true. 2024-04-05 09:24:15 +07:00