Commit Graph

63688 Commits

Author SHA1 Message Date
Ricardo Buring 8a28f816d0 Replace Clipper1 library by Clipper2 library 2024-04-20 13:37:59 +02:00
Aaron Franke b1f5e9fe3a
Rename internal is_ascii_char to is_ascii_alphabet_char 2024-04-20 02:36:41 -07:00
Lyuma a99756a07f Expose create_from_arrays in SurfaceTool and cleanup some naming 2024-04-19 18:45:06 -07:00
clayjohn 506e93a207 Exit light calculation early when pixel outside of light bounding rectangle
This hugely improves the performance of rendering PointLight2Ds
2024-04-19 16:10:11 -07:00
kit 55711b2ee8 Don't edit current when changing docks 2024-04-19 17:10:38 -04:00
Chris Cranford fdf31011a5 Expose ClassDB::class_get_property_default_value method 2024-04-19 13:51:28 -04:00
Ricardo Buring 80c600d86b Fix move_and_slide wall slide acceleration (3D)
When travel is high enough, keep the global position resulting from the
move_and_collide call, and set the motion to the remainder from the
move_and_collide call. This ensures travel is taken into account once,
rather than twice.
2024-04-19 19:40:01 +02:00
clayjohn c52e217cd3 Ensure minimum block size is respected when doing GPU to CPU copies of compressed textures 2024-04-19 10:17:17 -07:00
clayjohn 98dacc14ea Avoid writing out of range data over valid data in CVTT decompress methods when decompressing small mip levels 2024-04-19 10:16:36 -07:00
Chris Cranford c936ee54ee Expose `ClassDB::is_enum_bitfield` as `ClassDB::is_class_enum_bitfield` 2024-04-19 12:46:36 -04:00
kobewi c7b6cf9f6d Don't store TileMapLayer data if empty 2024-04-19 18:05:48 +02:00
Fredia Huya-Kouadio 764de7fe31 Collapse the gdextension arguments into the `GDExtensionData` struct
This is used to reduce the number of arguments to `OS::open_dynamic_library(...)`.
2024-04-19 07:56:02 -07:00
Fredia Huya-Kouadio ede88cf59d Fix loading GDExtension dependencies on Android 2024-04-19 07:55:08 -07:00
Rémi Verschelde 4a0160241f
Merge pull request #90886 from timothyqiu/lefty
Fix offset of node filter menu separator icon
2024-04-19 16:28:36 +02:00
Rémi Verschelde fba6803486
Merge pull request #90876 from smix8/source_geometry_callback
Add navigation mesh source geometry parsers and callbacks
2024-04-19 16:28:30 +02:00
Rémi Verschelde 626c6a0ff8
Merge pull request #90874 from Zylann/fix_graph_frame_crash
Fix crash when GraphFrame `sb_to_draw_panel` is not a StyleBoxFlat
2024-04-19 16:28:24 +02:00
Rémi Verschelde 00c847a629
Merge pull request #90862 from RadiantUwU/change_stuff
Remove experimental flag from `remove_user_signal()`.
2024-04-19 16:28:18 +02:00
Rémi Verschelde e34399cdcb
Merge pull request #90861 from aaronp64/audio_stream_player_nan
Check for NaN in `set_volume_db` functions
2024-04-19 16:28:11 +02:00
Rémi Verschelde 21140aad73
Merge pull request #90858 from Repiteo/scons/show_progress-tweaks
SCons: Disable `show_progress` with Ninja
2024-04-19 16:28:03 +02:00
Rémi Verschelde a523532d18
Merge pull request #90852 from timothyqiu/padding-always
Fix buttons offset to the right when dialog is at minsize
2024-04-19 16:27:56 +02:00
Rémi Verschelde 81f08c396c
Merge pull request #90837 from paulloz/dotnet/callable-deserialization-order
Change order of operation for C# types reloading
2024-04-19 16:27:49 +02:00
Rémi Verschelde 993d15da17
Merge pull request #90821 from clayjohn/RD-clip-children-rect
Use a src rect for copying from screen with CanvasGroup in the mobile backend
2024-04-19 16:27:41 +02:00
Rémi Verschelde e50867ae34
Merge pull request #90776 from Naros/avoid-script-language-not-overridden
Defer call to `set_break_language`
2024-04-19 16:27:33 +02:00
Rémi Verschelde 0b8042180e
Merge pull request #90447 from dsnopek/gdextension-hot-reload-not-classdb-instantiate
Fix GDExtension hot reload for classes not created via `ClassDB::instantiate()`
2024-04-19 16:27:26 +02:00
Rémi Verschelde 1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
Rémi Verschelde 55842a502c
Merge pull request #89058 from dalexeev/editor-help-bit-deprecated-experimental
Editor: Display deprecated/experimental messages in tooltips
2024-04-19 16:27:06 +02:00
Rémi Verschelde 931f878390
Merge pull request #88899 from AThousandShips/gdscript_clean
[GDScript] Clean up some unused code
2024-04-19 16:26:58 +02:00
Rémi Verschelde 3acd14d6bc
Merge pull request #88660 from MajorMcDoom/tokenized-file-search
Add tokenized search support to Quick Open dialog and FileSystem filter
2024-04-19 16:26:50 +02:00
Rémi Verschelde 42e6f9a9d8
Merge pull request #76140 from jeronimo-schreyer/add_secondary_light_to_3d_resource_importer
Added secondary light to 3D Advanced Import Settings
2024-04-19 16:26:42 +02:00
Rémi Verschelde 0f7452fedd
Merge pull request #61013 from Calinou/test-add-transform3d
Add rotation unit tests for Transform3D
2024-04-19 16:26:31 +02:00
Thaddeus Crews b95e7fcecd
Core: Integrate initalizer lists for Variant 2024-04-19 08:52:17 -05:00
smix8 58593d1bb7 Add navigation source geometry parser callbacks
Adds navigation source geometry parser callbacks so that externals can hook their own geometry into the navigation mesh baking process.
2024-04-19 12:10:57 +02:00
Lyuma bb9674c1b1 Set animation step from importers. Increase default step from 10 to 30 FPS. 2024-04-19 03:02:20 -07:00
Yuri Rubinsky 56d843724e Prevent expanding output port in visual shader expression 2024-04-19 11:49:10 +03:00
Haoyu Qiu 6a406bf424 Fix offset of node filter menu separator icon 2024-04-19 13:33:45 +08:00
Malcolm Nixon 823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00
Bogdan Inculet 8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +03:00
kobewi 12f39befa9 Use minor version in EditorSettings file name 2024-04-19 00:13:06 +02:00
Rémi Verschelde 9bc49a66ba
Merge pull request #90865 from RandomShaper/wtp_re_fix_yield
WorkerThreadPool: Fix yield-over for not-yet-started tasks
2024-04-18 23:56:25 +02:00
rune-scape 6b88c86cec GDScript: invalidate GDScriptParserRef when reloading 2024-04-18 14:05:58 -07:00
Marc Gilleron f3e6d23405 Fix crash when GraphFrame sb_to_draw_panel is not a StyleBoxFlat 2024-04-18 21:33:02 +01:00
kobewi 9ab3ff04ac Don't translate ColorPicker color labels 2024-04-18 20:26:56 +02:00
Pedro J. Estébanez 8192d1cbc7 WorkerThreadPool: Fix yield-over for not-yet-started tasks 2024-04-18 19:25:19 +02:00
Radiant 75bca7d112 Remove experimental flag. 2024-04-18 19:37:05 +03:00
aaronp64 58931c073d Check for NaN in set_volume_db functions
Added check in AudioStreamPlayer, AudioStreamPlayer2D, and AudioStreamPlayer3D set_volume_db functions to prevent setting volume to NaN, and give an error.  Using NaN for volume and playing the AudioStreamPlayer could prevent all audio from playing, even from other AudioStreamPlayers.

Fixes #88133
2024-04-18 11:28:57 -04:00
George Marques dc73440f89
GDScript: Implement get_dependencies()
The parser and analyzer now track the dependencies of the script and
return the list when the resource loader ask for them.

What is considered a dependency:

- Any `preload()` call.
- The base script this one extends.
- Any identifier, including types, that refers to global scripts.
- Any autoload singleton reference.
2024-04-18 11:54:37 -03:00
Thaddeus Crews a7e7167a85
SCons: Disable `show_progress` with ninja 2024-04-18 09:42:02 -05:00
Thaddeus Crews 5a87f0da21
SCons: Utilize native Variable alias functionality 2024-04-18 09:27:26 -05:00
Rémi Verschelde 2efbc6bfb3
Merge pull request #90848 from BlueCube3310/lightmapper-dir-seam-fix
LightmapGI: Fix seam blending with directional lightmaps
2024-04-18 15:17:21 +02:00
Rémi Verschelde 8d557e517b
Merge pull request #90845 from KoBeWi/best_of_both_worlds
Fix folder scan replacing project list
2024-04-18 15:17:18 +02:00