Commit Graph

80742 Commits

Author SHA1 Message Date
Aaron Franke 1a7be001d2 Use const Array ref in set_structured_text_bidi_override_options 2025-09-26 14:31:38 -07:00
kobewi 835383d46b Fix region folding not loading properly 2025-09-26 23:29:31 +02:00
kobewi e68b171aaa Fix Script editor state types 2025-09-26 21:38:12 +02:00
Thaddeus Crews 9283328fe7 Merge pull request #109491 from syntaxerror247/window-color
Android: Add method to set root window color at runtime
2025-09-26 13:47:32 -05:00
Thaddeus Crews 3a16864c33 Merge pull request #107075 from m4gr3d/implement_javaclasswrapper_has_method
[Android] `JavaClassWrapper` bug fixes
2025-09-26 13:47:31 -05:00
Thaddeus Crews e9cd9a9c35 Merge pull request #110914 from mihe/jolt/multiple-contact-callbacks
Fix CCD bodies adding multiple contact manifolds when using Jolt
2025-09-26 13:47:30 -05:00
Michael Alexsander 26745b4b87 Unfold tree items on hover while drag-n-dropping
Co-authored-by: suddjian
2025-09-26 14:38:45 -03:00
Hugo Locurcio cf259473d9 Show centiseconds in LightmapGI bake time printout in the editor
On modern high-end GPUs, bake times are regularly under 15 seconds,
especially with preview-quality settings.

In this case, sub-second differences can be significant for benchmarking,
so it's worth showing them.
2025-09-26 18:53:20 +02:00
Pāvels Nadtočajevs 1c59038555 Change macos.permission.RECORD_SCREEN version check from 10.15 to 11.0. 2025-09-26 19:25:49 +03:00
Hugo Locurcio c4bbf27cb5 Use Jolt Physics by default in newly created projects
This also adds infrastructure to make specific settings the default, but only
in projects created after this point (so that existing projects
are not affected). This can be used for progressive upgrades in the future.

This applies to both the project creation dialog and creating projects
through the command line using `touch project.godot`.
2025-09-26 17:16:28 +02:00
ydeltastar 6a3d37ef1c Android: Ensure proper cleanup of the fragment 2025-09-26 10:18:11 -03:00
Ricardo Buring 2f3eaa965c OBJ importer: Support bump multiplier (normal scale)
This improves compatibility with OBJ/MTL files found in the wild.
2025-09-26 12:46:31 +02:00
Luo Zhihao 727066fe1f Free script and extension instance before object deconstructing
Co-Authored-By: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-09-26 18:15:08 +08:00
arkology 57b1848e8c ProjectManager: Change favorite button tooltip to toggle 2025-09-26 06:19:16 +00:00
Haoyu Qiu 4e80190a46 Move context and plural support to Translation
- `TranslationPO` is now an empty class. It exists for compatibility.
- `OptimizedTranslation` stays the same, no context or plural support.
2025-09-26 10:51:57 +08:00
Haoyu Qiu e882e42e1b Add default plural rules
This makes the PO loader correctly handle the situation where the optional
`Plural-Forms` header field does not exist.

The `Translation` class and its subclasses always have access to valid plural
rules via `_get_plural_rules()`. Plural rules are prioritized:

1. `Translation.plural_rules_override`
2. `TranslationServer.get_plural_rules(locale)`
3. The English plural rules: `nplurals=2; plurals=(n != 1)`

Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-09-26 10:51:57 +08:00
Haoyu Qiu ebb96e2303 Move plural rules logic into a separate class
- Extracts plural rules logic in `TranslationPO` into a new `PluralRules` class.
- Changes caching the last used plural index in `TranslationPO` into an LRU cache in `PluralRules`.
- Adds tests for `PluralRules`.
2025-09-26 10:51:55 +08:00
Mikael Hermansson 0590c974c1 Fix CCD bodies adding multiple contact manifolds when using Jolt 2025-09-26 01:17:11 +02:00
Lukas Tenbrink 1bf821c1e1 Store current capacity in CowData buffers, and rewrite most of it.
Add `reserve` to `CowData`, `Vector` and `Array`.

# Conflicts:
#	core/os/memory.h
#	core/templates/cowdata.h
2025-09-25 22:00:17 +02:00
Thaddeus Crews 1f7630f1bf Merge pull request #110841 from smix8/raster_casual
Make navmesh rasterization errors more lenient
2025-09-25 14:57:11 -05:00
Thaddeus Crews e49e73e160 Merge pull request #110868 from brycehutchings/openxr_late_destruction_crash_fix
Fix late destruction access violation with OpenXRAPIExtension object
2025-09-25 14:57:11 -05:00
Thaddeus Crews 121b1b7d58 Merge pull request #110420 from fstxz/fix-folder-nullptr
Fix crash due to null pointer dereference when moving/renaming folders in `FileSystemDock`
2025-09-25 14:57:10 -05:00
Thaddeus Crews 5fda92451d Merge pull request #100145 from Ivorforce/memory-offset-func
Add `mem_aligned_address` to simplify data offset constants.
2025-09-25 14:57:09 -05:00
Thaddeus Crews 5088a93024 Merge pull request #110415 from fstxz/fix_favorites
Fix favorite folders that are outside of the project being displayed in `FileSystemDock`'s file list
2025-09-25 14:57:08 -05:00
Stuart Carnie 7227fdd805 Core: Add UNIX domain socket support
> [!NOTE]
>
> Later versions of Windows has support for `AF_UNIX`, so it could be
> added.
2025-09-26 05:46:19 +10:00
Lukas Tenbrink 3ac159094f Add memory_get_offset to simplify data offset constants. 2025-09-25 20:55:33 +02:00
arkology 221f1f4401 FindInFiles: Allow replace individual results 2025-09-25 21:43:05 +03:00
smix8 19df15f1dc Make navmesh rasterization errors more lenient
Make navmesh rasterization on the navigation regions and map more lenient by starting out with a lower internal cell scale by default and changing the merge error to just warning that can be toggled.
2025-09-25 20:18:18 +02:00
robert yevdokimov 812c94a20c Fix GridMap Move Action Undo/Redo/Cancel 2025-09-25 12:21:58 -05:00
Thaddeus Crews a078895ad2 Merge pull request #109243 from precup/tile-map-optimizations
Avoid unnecessary updates in `TileMapLayer`
2025-09-25 12:13:57 -05:00
Thaddeus Crews c32c2606f4 Merge pull request #110837 from wheatear-dev/add-gdsoftclass-deeper
Add `GDSOFTCLASS` to deeper inheritors of `Object`
2025-09-25 12:13:56 -05:00
Thaddeus Crews 5aa220efee Merge pull request #110865 from brycehutchings/openxr_d3d12_near_far_fix
Fix OpenXR with D3D12 using the wrong clip space projection matrix
2025-09-25 12:13:55 -05:00
Thaddeus Crews 6af2341894 Merge pull request #108743 from Nodragem/fix-jump-when-cutting
Fix jump when cutting a selection in Gridmap
2025-09-25 12:13:54 -05:00
Thaddeus Crews d5848e2232 Merge pull request #110882 from nikitalita/patch-4
Fix HashMap/HashSet in natvis after member renames
2025-09-25 12:13:53 -05:00
Bryce Hutchings cd198f7517 Remove static lifetime object to avoid late destruction 2025-09-25 10:11:08 -07:00
Hugo Locurcio f277add285 Fix and improve Node2D.move_local_{x,y}() description
The `delta` parameter name refers to a generic distance parameter here,
rather than the process or physics process time.
2025-09-25 18:52:11 +02:00
Jojo-1000 71723f74b7 Mark necessary EditorImportPlugin functions as required 2025-09-25 17:15:32 +02:00
Thaddeus Crews d48f255074 Windows: Migrate godot.manifest to platform/windows
• Ensure file is included as proper dependency
2025-09-25 09:15:00 -05:00
danielgsilva bc9c14da7a Add helper methods and simplify logic 2025-09-25 13:41:15 +01:00
Thaddeus Crews ecfe34f56c Merge pull request #110892 from AThousandShips/fix_build_2d
Revert "Replace many uses of `is_class` with `derives_from`."
2025-09-25 07:11:02 -05:00
A Thousand Ships bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Paeniche 0b7b52a1f1 Fix /tutorial added twice
Some links in the offlince documentation for lights and shadows had /tutorials/tutorials in their links leading to 'page not found' error
2025-09-25 01:32:44 -07:00
Artemy Fedotov 40d56c98bc Fix LineEdit's placeholder text being selected when double clicking 2025-09-25 12:05:48 +04:00
Arseny Kapoulkine ccbece58d8 Enable component pruning during simplification
In addition to the regular edge collapse, we now allow the simplifier to
remove small isolated components. Components that are removed are below
the error threshold in size and as such should not noticeably contribute
to the overall rendering of the object.

This helps simplify topologically complex but small parts of larger
meshes and more comfortably reach the LOD targets.

In some cases, pruning can cause the last LOD to shrink to 0 triangles
which may prevent a slightly larger LOD from being used at the maximum
distance; in this case we retry simplification without pruning once.
2025-09-24 22:23:55 -07:00
Nikita a75e6be6fb Fix HashMap/HashSet in natvis after member renames 2025-09-24 21:51:03 -07:00
Clay John 6e4e8072e1 Merge pull request #110027 from zeux/lod-iter
Switch LOD generation to use iterative simplification
2025-09-24 20:57:41 -07:00
Aaron Franke da9a77ce42 GLTF: Preserve mesh name on export 2025-09-24 20:28:52 -07:00
Aaron Franke 23fa9d8508 Organize toggle files button logic in shader editor 2025-09-24 17:55:39 -07:00
Aaron Franke 9993438a9e Use explicit public access modifier in C# code 2025-09-24 14:32:38 -07:00
Stuart Carnie d93fe9038d Metal: Fix Metal compiler version inspection 2025-09-25 06:35:31 +10:00