Commit graph

61945 commits

Author SHA1 Message Date
Adam Scott
dcf4cf79fd
Hide snap_2d_vertices_to_pixel setting to advanced 2024-02-28 10:59:41 -05:00
Michael Alexsander
d70c45b5c8
Add option to add built-in strings in the POT generation 2024-02-28 11:34:26 -03:00
Pedro J. Estébanez
84b85d894c Improve thread safety of resource loading 2024-02-28 15:19:22 +01:00
Rémi Verschelde
3a08c646ee
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0 2024-02-28 14:25:35 +01:00
398utubzyt
4c69e8c026 Fix compilation errors when DISABLE_DEPRECATED is defined 2024-02-28 05:09:29 -08:00
Rémi Verschelde
4a1397b58c
RTL: Clarify that line, paragraph, and character numbers are zero-indexed
Closes #82885.
2024-02-28 13:46:23 +01:00
Andreia Gaita
d6f2bec890 VS: Improve performance of parsing project file
VS doesn't handle string parsing very well, so having all the files in one
property slows down VS a lot when loading the projects. Splitting the files
up into per-directory properties brings down project processing times from
20 seconds to 1 second (on my machine).
2024-02-28 13:19:22 +01:00
Riteo
b01a36b3cd Wayland: Restore tablet support and handle multiple tools
This code was already partially there, although heavily incomplete and
nowadays commented out.

It got broken after the `WaylandThread` refactor and I didn't bother to
bring it over, preferring to `#if 0` it into oblivion for the time
being as I don't have a tablet/pen which support an eraser and tilt
reporting.

This commit brings it back and adds proper multi-tool support (needed
for eraser detection) thanks to winston-yallow, who could test this code
with their more capable tablet.
2024-02-28 13:08:31 +01:00
Rémi Verschelde
093cdd2188
EditorFileSystem: Add verbose print for file being (re)imported
Also print the time it took for each file.
2024-02-28 09:59:46 +01:00
Rémi Verschelde
df78c0636d
Merge pull request #88798 from Malcolmnixon/xr-body-tracker
XR: Add body tracking support.
2024-02-28 09:34:40 +01:00
Rémi Verschelde
b431314e8f
Merge pull request #88794 from ryevdokimov/fix-spinbox
If SpinBox text can't be parsed use last updated text
2024-02-28 09:34:36 +01:00
Rémi Verschelde
0ac99b94d3
Merge pull request #88572 from ajreckof/fix-crash-on-dictionarry-new-key/value-change-type-when-inspector-opened
Fix crash on changing resource type of dictionary new key/value while editing the resource.
2024-02-28 09:34:27 +01:00
lawnjelly
0b1266b812 Fix physics platform crash
Physics body previously stored the RID of a collision object and accessed it on the next frame, leading to a crash if the object had been deleted.
This PR checks the object still exists via the ObjectID prior to access.
2024-02-28 08:24:32 +00:00
Malcolm Nixon
57aa734562 Add body tracking support. 2024-02-27 19:51:59 -05:00
Rémi Verschelde
f77bc87211
Merge pull request #88938 from clayjohn/GLES3-skeleton2d
Ensure proper vertex input masks are used in 2D compatibility renderer
2024-02-28 01:32:51 +01:00
ajreckof
e922abd975 Fix crash on changing resource type of dictionary new key/value while editing the resource 2024-02-28 01:31:52 +01:00
clayjohn
2c7dd35822 Ensure proper vertex input masks are used in 2D compatibility renderer 2024-02-27 15:39:20 -08:00
Robert Yevdokimov
76a6650fd9 If spinbox text can't be parsed use last updated text 2024-02-27 16:20:51 -05:00
Rémi Verschelde
23191b834e
Merge pull request #88917 from mihe/tree-selection-crash
Fix crash when selecting re-added `TreeItem::Cell`
2024-02-27 21:32:53 +01:00
Rémi Verschelde
7682bc3f4d
Merge pull request #88932 from bruvzg/fix_indicatore_destroy
[macOS/Windows] Fix application indicator destruction.
2024-02-27 21:31:53 +01:00
Rémi Verschelde
ac4376814b
Merge pull request #88931 from clayjohn/GLTF-normals
Fix wrong indexing when generating dummy tangents in GLTF import
2024-02-27 21:23:14 +01:00
Rémi Verschelde
2a056329f5
Merge pull request #88911 from Chaosus/fix_editor_help
Remove redundant space after enum/flags word in editor docs
2024-02-27 21:23:10 +01:00
Rémi Verschelde
ed2ff19cd7
Merge pull request #88909 from emre0altan/clarify-c#-color-opacity-comment
Clarify C# Color opacity comment
2024-02-27 21:23:07 +01:00
Rémi Verschelde
a64cb8eff3
Merge pull request #88570 from paulloz/dotnet/warnings-editorconfig-cleanup
[.NET] Better `.editorconfig` setup in `modules/mono/`
2024-02-27 21:23:03 +01:00
Rémi Verschelde
3dca3c22fc
Merge pull request #88497 from Sauermann/fix-owner-import
Fix owner when importing meshes
2024-02-27 21:23:00 +01:00
Rémi Verschelde
f80cdeb597
Merge pull request #87504 from smix8/nav_mesh_auto_rebake
Auto-bake edited NavigationPolygons in the Editor on a timer
2024-02-27 21:22:56 +01:00
Rémi Verschelde
8383745160
Merge pull request #82599 from smix8/shapecast_debug_4.x
Change ShapeCast3D and RayCast3D debug to use RenderingServer directly
2024-02-27 21:22:53 +01:00
Rémi Verschelde
21ee3716c2
Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotation
GDScript: Add `@export_storage` annotation
2024-02-27 21:22:49 +01:00
Rémi Verschelde
1aa8e91d15
Merge pull request #59247 from Calinou/editor-display-build-date
Display the build date in the editor and when starting the engine
2024-02-27 21:22:40 +01:00
bruvzg
a0084803b4
[macOS/Windows] Fix application indicator destruction. 2024-02-27 22:19:47 +02:00
smix8
10e8f3698b Auto-bake edited NavigationPolygons in the Editor on a timer
Auto-bakes edited NavigationPolygons in the Editor on a timer.
2024-02-27 20:51:38 +01:00
clayjohn
14c776f798 Fix wrong indexing when generating dummy tangents in GLTF import 2024-02-27 11:44:57 -08:00
Hugo Locurcio
67e9ccdbc4
Display the build date in the editor and when starting the engine
This can be used to quickly see how recent a development build is,
without having to look up the commit date manually.
When juggling around with various builds (e.g. for benchmarking),
this can also be used to ensure that you're actually running the
binary you intended to run.

The date stored is the date of the Git commit that is built, not
the current date at the time of building the binary. This ensures
binaries can remain reproducible.

The version timestamp can be accessed using the `timestamp` key
of the `Engine.get_version_info()` return value.
2024-02-27 20:39:17 +01:00
smix8
f556d7a54b Change ShapeCast3D and RayCast3D debug to use RenderingServer directly
Changes ShapeCast3D and RayCast3D debug to use RenderingServer directly.
2024-02-27 20:33:27 +01:00
Hugo Locurcio
ea03154a27
Document using RichTextLabel's meta_clicked to handle clickable URLs 2024-02-27 20:22:32 +01:00
Paul Joannon
139a5df821
Cleanup C# projects, code quality & style
New rules:
- Do not silence CA1805 any more
- Limit where we silence CA1707, CA1711, CA1720
- Enforce severity=warning for IDE0040
- Enforce Allman style braces
- Enforce naming conventions (IDE1006 is still severity=suggestion)

Fixes:
- Fix REFL045, CS1572, CS1573
- Suppress CS0618 when generating `InvokeGodotClassMethod`
- Fix indent when generating GD_constants.cs
- Temporarily silence CS1734 in generated code
- Fix a lot of naming rule violations

Misc.:
- Remove ReSharper comments for RedundantNameQualifier
- Remove suppression attributes for RedundantNameQualifier
- Remove severity=warnings for CA1716, CA1304 (already included in the level of analysis we run)
2024-02-27 20:11:24 +01:00
David Giardi
f63728cb9f Fix item positioning & pointer detection areas of ItemList 2024-02-27 20:03:10 +01:00
Rémi Verschelde
f5dbbf7fd0
Merge pull request #88921 from Repiteo/dotnet/deprecate-check-fix
C#: Only check for empty deprecation message if deprecated
2024-02-27 18:27:10 +01:00
Rémi Verschelde
ea982c402d
Merge pull request #88918 from blackbird806/patch-1
Remove self includes in some files
2024-02-27 18:27:07 +01:00
Rémi Verschelde
d1a6fd3429
Merge pull request #88027 from RandomShaper/d3d12_sdfgi_cool
Direct 3D 12: Implement proper fallback for format casting
2024-02-27 18:26:09 +01:00
Thaddeus Crews
be7019de0f
C#: Only check for empty deprecation message if deprecated 2024-02-27 10:22:32 -06:00
Pedro J. Estébanez
3f530c7091 Direct3D 12: Implement proper fallback for format casting 2024-02-27 17:20:01 +01:00
blackbird806
e2f1af8742
Remove self includes in some files 2024-02-27 17:10:54 +01:00
emre0altan
4100a23c5e Clarify C# Color opacity comment 2024-02-27 15:56:21 +00:00
Rémi Verschelde
8f3e2a6113
Merge pull request #88912 from AThousandShips/tile_drag_fix
[TileSet] Fix crash when deleting dragged polygon point
2024-02-27 16:37:10 +01:00
Rémi Verschelde
21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
Rémi Verschelde
9dceb626d6
Merge pull request #88817 from Mickeon/plugin-list-black
Fix toggling a plugin makes its name black
2024-02-27 16:37:04 +01:00
Rémi Verschelde
cfe344f12f
Merge pull request #87872 from RandomShaper/d3d12_tex_mem_is_life
Direct3D 12: Enhance management of texture data life cycle
2024-02-27 16:36:59 +01:00
Rémi Verschelde
33bc762680
Merge pull request #87478 from AThousandShips/tile_thread_fix_2
Prevent threading problems in `TileMap`
2024-02-27 16:36:52 +01:00
Mikael Hermansson
f7c1c83daa Fix crash when selecting re-added Tree item 2024-02-27 16:34:15 +01:00