af252823ac
Merge pull request #101291 from Ivorforce/stringname-to-bool
...
Change `StringName.operator const void *` to `explicit operator bool`.
2025-04-14 19:39:45 -05:00
9b6d92723d
Merge pull request #104872 from bruvzg/per_vp_os
...
Replace global oversampling with overrideable per-viewport oversampling.
2025-04-14 19:39:43 -05:00
c901f39cda
Remove no longer needed link polygons from NavMapBuilder
...
Removes no longer needed link polygons from NavMapBuilder.
2025-04-14 17:32:55 +02:00
4afeca3bcf
Replace global oversampling with overrideable per-viewport oversampling.
2025-04-14 13:43:09 +03:00
8459f4cdaf
Implement KHR_node_visibility in the GLTF module
2025-04-13 13:42:46 -07:00
88191b0b15
Fix extraction of C# default property values when negative
2025-04-13 17:57:20 +02:00
23a2481abc
Fix LSP not returning expected localization for API docs.
2025-04-13 19:51:16 +08:00
f0ec392bb1
[.Net] Avoid StringName allocations if type does not defines _Get or _Set
2025-04-12 03:39:24 +08:00
addab4f001
Merge pull request #95916 from Repiteo/core/bit-field
...
Core: Add dedicated `BitField` template
2025-04-11 13:29:13 -05:00
a0b796218a
Improve documentation on is_nan() and NAN constant
2025-04-11 20:25:16 +02:00
0d267e7b1e
Core: Add dedicated BitField template
2025-04-11 11:53:26 -05:00
e989d7bd89
Change StringName.operator const void * to explicit operator bool.
2025-04-11 18:34:01 +02:00
e8311840e4
[.NET] Fix string.PathJoin to be consistent with core
2025-04-11 23:21:29 +08:00
98c204a8f0
Merge pull request #104828 from van800/rider_fleet
...
C#: Separate Rider and Fleet options as external editors
2025-04-11 09:51:13 -05:00
9b3e445e47
Merge pull request #105073 from Mickeon/documentation-miscellaneous-oddities-part-4
...
Fix miscellaneous oddities around the class reference (part 4)
2025-04-11 09:51:11 -05:00
0d07a6330a
Merge pull request #105253 from smix8/nav3d_point
...
Replace NavigationServer3D `Point` struct with `Vector3`
2025-04-11 09:51:06 -05:00
3bcc45617b
Merge pull request #105252 from smix8/nav2d_point
...
Replace NavigationServer2D `Point` struct with `Vector2`
2025-04-11 09:51:05 -05:00
717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
...
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
45a07c1ab9
split Rider and Fleet as different external editors for Godot C#
...
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com >
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2025-04-11 13:21:50 +02:00
9e158215d1
Merge pull request #96375 from HolonProduction/completion-callable-braces
...
Autocompletion: Don't add parenthesis if `Callable` is expected
2025-04-10 16:53:45 -05:00
1aa0b5f2f7
Merge pull request #93636 from Nolkaloid/fix-const-callv
...
GDScript: Add tests for calling with wrong arguments in Callable.callv() when passing a readonly (const) Array
2025-04-10 16:53:41 -05:00
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
c1cdaf7b16
Add gdscript tests for callv with const arrays
2025-04-10 23:13:01 +02:00
bf963e767e
Add Options, Functions and Settings to convert Node-Names and Strings to kebab-case
...
- refactored and renamed String::_camelcase_to_underscore to String:_separate_compound_words
- refactored String::to_snake_case to work with the refactored String::_separate_compound_words
- created char_utils::is_hyphen to catch all hyphen variants in kebab-case conversion
- created String::to_kebab_case using the new String::_separate_compound_words
- created corresponding Documentation in String and StringName
- simplified both switch statements in EditorNode and ProjectDialog
- added new kebab-casing Option for Node Names in ProjectSettings
- added missing camelCase Options to Scene- and Node-Names in ProjectSettings
- simplified Mono RuntimeInterop Functions
- hooked up the ConnectionsDialog
- created additional Unit Tests
2025-04-10 21:22:21 +02:00
b941c2d013
[.NET] Add a preload hook to load .NET assemblies from the APK
...
Avoids using assemblies extracted to a temporary directory in Android.
2025-04-10 21:10:51 +02:00
af14aaecd4
Replace NavigationServer3D Point struct with Vector3
...
Replaces NavigationServer3D Point struct with Vector3.
2025-04-10 20:19:20 +02:00
1c03b15b4f
Replace NavigationServer2D Point struct with Vector2
...
Replaces NavigationServer2D Point struct with Vector2.
2025-04-10 20:18:54 +02:00
e7487263ad
Autocompletion: Don't add parenthesis if Callable is expected
2025-04-10 18:40:32 +02:00
e935fb1ee2
Fix miscellaneous oddities around the class reference (part 4)
2025-04-10 17:56:58 +02:00
1be843f77a
Merge pull request #103798 from Rudolph-B/new-97712
...
Switch occlusion culling to be based on depth instead of Euclidean distance
2025-04-10 10:18:17 -05:00
cade15a163
Merge pull request #92475 from AThousandShips/string_replace_char
...
Add `String::replace_char(s)` methods for performance and convenience
2025-04-10 10:18:16 -05:00
ef3e8b1609
Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles
...
Fix MenuButton style in editor top menu bar
2025-04-10 10:18:10 -05:00
889410dcda
Add String::replace_char(s) methods for performance and convenience
2025-04-10 13:08:45 +02:00
4636d0abc9
Merge pull request #105193 from Monstrofil/fix-dds-mipmap-size-uncompressed-dds
...
Fix incorrect mipmap size calculation for uncompressed DDS textures
2025-04-09 18:12:01 -05:00
f76190092d
Merge pull request #104780 from aaronfranke/gltf-fix-invalid-byte-stride
...
GLTF: Fix importing files with invalid buffer view byte strides
2025-04-09 18:12:00 -05:00
7a6c3b309f
Merge pull request #105130 from bruvzg/uri_fix_plus
...
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
d23329a0e4
Merge pull request #104213 from ryevdokimov/shortcuts-gridmap-mouse-captrued
...
Fix `GridMap` shortcuts being triggered during freelook (mouse captured)
2025-04-09 18:11:54 -05:00
1be28a7cb2
Merge pull request #102292 from HolonProduction/gizmo-capsule
...
Editor: Improve capsule gizmos
2025-04-09 18:11:54 -05:00
171187d1aa
Merge pull request #101011 from aaronfranke/limit-max-contacts-reported
...
Place a hard limit on the `max_contacts_reported` property in 2D/3D physics
2025-04-09 18:11:53 -05:00
ab1757c4b9
Add singleton check before adding webxr interface
2025-04-09 12:54:30 -04:00
65c9f44a2f
Fix incorrect mipmap size calculation for uncompressed DDS textures
...
Previously, the DDS texture loader incorrectly calculated mipmap dimensions
for uncompressed textures when the original dimensions
were non-power-of-two.
For example, given a 120×120 texture, the expected mipmap chain should be:
mipmap=0, size=120×120
mipmap=1, size=60×60
mipmap=2, size=30×30
mipmap=3, size=15×15
mipmap=4, size=7×7
mipmap=5, size=3×3
mipmap=6, size=1×1
But the loader was producing:
mipmap=0, size=120×120
mipmap=1, size=60×60
mipmap=2, size=30×30
mipmap=3, size=15×15
mipmap=4, size=8×8
mipmap=5, size=4×4
mipmap=6, size=2×2
This commit corrects the logic to properly compute width and height independently at each mip level.
Fixes issue #105136 .
2025-04-09 18:40:20 +03:00
85a9c73a84
Fix the formula for calculation the size of compressed textures.
...
Accodring to the DDS documentation, the size of each mipmap level should
be:
max(1, ( (width + 3) / 4 ) ) x max(1, ( (height + 3) / 4 ) ) x 8(DXT1) or 16(DXT2-5)
But in dds loader a slightly different formula was used which
provided different results. Check gh issue #105136 and pull request for details.
2025-04-09 18:23:16 +03:00
ec675fc329
Merge pull request #100333 from YYF233333/reduce_list
...
Use `LocalVector` instead of `List` as arg of `Dictionary::get_key_list`
2025-04-09 08:51:45 -05:00
d7ced73997
Merge pull request #104939 from HolonProduction/json-rpc-notification-return-fix
...
JSONRPC: Fix notification return behavior
2025-04-09 08:51:44 -05:00
0563f4f978
Merge pull request #105166 from Ivorforce/get-class-static-stringname
...
Change `get_class_static` to return `StringName`.
2025-04-09 08:51:39 -05:00
fbe64ffb45
Change get_class_static to return StringName.
...
Use that static `get_class_static` for `_get_class_namev` to avoid duplication.
2025-04-08 23:25:05 +02:00
13741ff913
Add FoldableContainer
...
Co-authored-by: WhalesState <whalesstate@gmail.com >
2025-04-08 22:27:32 +02:00
f7e4987d0e
Dictionary::get_key_list use LocalVector instead of List.
2025-04-09 02:46:24 +08:00
4248411baf
Merge pull request #102521 from HolonProduction/cancel-await
...
GDScript: Cancel suspended functions when reloading a script
2025-04-08 12:32:52 -05:00
36ff5d351c
Merge pull request #105152 from DeeJayLSP/ogg-name
...
Add an actual name for Ogg Vorbis importer visible name.
2025-04-08 12:32:50 -05:00