Commit Graph

11286 Commits

Author SHA1 Message Date
Rudolph Bester
76c20383d1 Fix Occlusion Culling not working for an orthogonal camera. 2024-10-26 20:07:34 +02:00
Thaddeus Crews
61accf0605
Merge pull request #97535 from HolonProduction/gizmo-cylinder
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Editor: Improve cylinder gizmos
2024-10-25 13:04:14 -05:00
Thaddeus Crews
2584f75537
Merge pull request #96499 from beev1s/shallow-script-cache-error
Fix resource loader not resolving shallow loaded scripts through dependencies
2024-10-25 13:04:09 -05:00
Thaddeus Crews
07e759b74a
Merge pull request #97771 from dsnopek/openxr-linux-egl
OpenXR: Add support for Wayland on Linux
2024-10-25 13:04:08 -05:00
Thaddeus Crews
7da6d6032b
Merge pull request #96927 from HolonProduction/completion-inner-class-base-crash
Autocompletion: Don't use owner for inner classes
2024-10-25 13:03:53 -05:00
Danil Alexeev
4dc568856a
GDScript: Rework GDScriptUtilityFunctions macros 2024-10-25 17:46:38 +03:00
Clay John
78a4e634f0
Merge pull request #98257 from Rudolph-B/94210-B
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix to occlusion culling where all math is based on Euclidean distance.
2024-10-24 21:06:56 -07:00
Clay John
b5368d5e40
Merge pull request #98356 from dustdfg/gdscript_endif_readability_comments
Add some comments to `#endif's` where it helps readability
2024-10-24 19:11:42 -07:00
Clay John
38f2144f85
Merge pull request #98400 from rune-scape/fix-typed-dict-cached-parser
GDScript: Fix cached parser error when using typed Dictionaries
2024-10-24 18:54:12 -07:00
Clay John
7ebb3a4d68
Merge pull request #98471 from dsnopek/openxr-composition-layers-visibility-bug
Fix bug with OpenXR composition layers added after OpenXR is running
2024-10-24 18:45:23 -07:00
Thaddeus Crews
3c7fb9fe7f
Merge pull request #98169 from HolonProduction/only-highlight-exposed
GDScript: Don't highlight unexposed classes
2024-10-24 13:23:04 -05:00
Thaddeus Crews
8b6c7bf64c
Merge pull request #98163 from BastiaanOlij/openxr_flatten_bindings
OpenXR: change bindings to 'flatten' source paths
2024-10-24 13:23:03 -05:00
Thaddeus Crews
7444da766a
Merge pull request #97374 from rune-scape/get-native-static-callable
GDScriptNativeClass: Allow getting static function as callable
2024-10-24 13:23:01 -05:00
Thaddeus Crews
52bbbd4338
Merge pull request #98247 from TCROC/fix-headless-graphics-driver-and-shader-crash
Don't create rendering device or parse glsl shader in headless mode
2024-10-24 13:22:53 -05:00
Thaddeus Crews
0953d488c7
Merge pull request #98329 from beru/opt_ImageLoaderSVG__create_image_from_utf8_buffer
Optimize ImageLoaderSVG::create_image_from_utf8_buffer
2024-10-24 13:22:44 -05:00
David Snopek
e2386de505 Fix bug with OpenXR composition layers added after OpenXR is running 2024-10-23 15:34:05 -05:00
Brian Huynh
360b84bad5 Clarification to the description of Global scope in regards to GDScript
Previous wording said that @GDScript referred to entries that could be accessed in any script. Although with common sense we could imagine that it is only refering to GDScript specific pieces of code, the wording is a little unclear.

In general there are small changes to the wording which makes it more clear and concise.
Wording change

Tried to match the wording up with my last change which should make it a bit easier to parse at a glance what the docs mean by "from any script"

Changed language from "not specific to" to "which work in any language"

After consulting multiple people the new wording seems easier to parse, even for non coders

Update doc/classes/@GlobalScope.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Update modules/gdscript/doc_classes/@GDScript.xml

Co-Authored-By: Micky <66727710+Mickeon@users.noreply.github.com>
2024-10-23 02:10:03 -04:00
Travis Lange
2e1fc241f9 fix headless import attempting to load graphics driver 2024-10-22 16:17:09 -04:00
rune-scape
eb8b9898c9 GDScript: Fix cached parser error when using typed Dictionaries 2024-10-22 02:13:16 -07:00
Bastiaan Olij
3e36f52524 OpenXR: change bindings to 'flatten' source paths 2024-10-22 10:31:11 +11:00
Thaddeus Crews
55aeff19dc
Merge pull request #98146 from HolonProduction/this-error-does-not-apply-to-unrecognized-annotations
GDScript: Fix annotation parsing adding new annotation entries
2024-10-21 16:39:24 -05:00
Thaddeus Crews
291e4b78e2
Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactor
Don't include `core/io/image.h` in `core/os/os.h`
2024-10-21 16:39:15 -05:00
Thaddeus Crews
cb3c01a5fe
Merge pull request #97588 from TML233/generated-raise-signal
[C#] Change generated On{SignalName} to EmitSignal{SignalName}
2024-10-21 16:39:12 -05:00
Thaddeus Crews
8be0061458
Merge pull request #98340 from juanjp600/dotnet-typed-dictionary-hint-fix
Fix exported typed dictionaries in .NET having an incorrect hint
2024-10-21 16:39:08 -05:00
Thaddeus Crews
5fb22327ee
Merge pull request #97542 from AThousandShips/dict_sort_fix
[Core] Fix sorting of `Dictionary` keys
2024-10-21 16:39:05 -05:00
Yevhen Babiichuk (DustDFG)
8c29ef38fc Add some comments to #endif's where it will easier life
Also added some new line to improve readability

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2024-10-21 14:31:45 +03:00
katsuhisa yuasa
4dad9c6c05 optimize ImageLoaderSVG::create_image_from_utf8_buffer 2024-10-19 14:09:34 +09:00
Yevhen Babiichuk (DustDFG)
af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
A Thousand Ships
79f654ced5
[Core] Fix sorting of Dictionary keys
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
Juan Pablo Arce
e3790de461 Fix exported typed dictionaries in .NET having an incorrect hint, which led to incorrect scene serialization 2024-10-18 00:55:24 -03:00
Clay John
e50b864b64
Merge pull request #98085 from dalexeev/gds-fix-typed-dict-static-default-init
GDScript: Add missing static default initialization for typed dictionaries
2024-10-17 16:53:11 -07:00
Rudolph Bester
ed3f990952 Alternative fix to occlusion culling where all math is based on Euclidean distance. 2024-10-17 05:59:37 +02:00
Zi Ye
db194f06e1 Replaced some distance checks with square distance checks in NavMap, wherever the purpose is only to find the nearest element. 2024-10-15 22:06:35 -05:00
Thaddeus Crews
b429948236
Merge pull request #97938 from fire/GODOT_rest_transform
Assign the correct bone rest transform to nodes with matrix in GLTF
2024-10-14 14:09:58 -05:00
Thaddeus Crews
56ed76a372
Merge pull request #97582 from BlueCube3310/basisu-hdr
BasisU: Update to 1.50.0 and add HDR support
2024-10-14 14:09:57 -05:00
Thaddeus Crews
a1e768c508
Merge pull request #97295 from BlueCube3310/betsy-bc4
Betsy: Implement BC4 compression
2024-10-14 14:09:56 -05:00
Thaddeus Crews
c409546cc3
Merge pull request #98059 from zaevi/fix_csharp_unhandled_GD0303
[.NET] Fix unhandled GD0303 error for nested generic attribute types
2024-10-14 14:09:51 -05:00
HolonProduction
e999f11d53 GDScript: Don't highlight unexposed classes 2024-10-14 14:57:16 +02:00
HolonProduction
140c6a612e GDScript: Fix annotation parsing adding new annotation entries 2024-10-13 22:43:06 +02:00
HolonProduction
16aae0d7a7 Autocompletion: Don't use owner for inner classes 2024-10-13 18:20:27 +02:00
BlueCube3310
200ed0971a BasisU: Update to 1.50.0 and add HDR support 2024-10-12 18:02:44 +02:00
HolonProduction
9ea357af20 Editor: Improve cylinder gizmos 🌈 2024-10-11 18:38:36 +02:00
Danil Alexeev
0bc59c78de
GDScript: Add missing static default initialization for typed dictionaries 2024-10-11 13:23:34 +03:00
Thaddeus Crews
e857e81cf7
Merge pull request #97873 from BlueCube3310/image-decompress-4-fix
Fix decompressing textures with dimensions that are not multiples of 4
2024-10-10 18:13:20 -05:00
Thaddeus Crews
147ccfeb4e
Merge pull request #96329 from Delsin-Yu/dotnet-replace-array-with-ros-in-binding-apis
[.NET] Generate `ReadOnlySpan<T>` Overloads for GodotSharp APIs
2024-10-10 18:13:18 -05:00
Zae
9c99e519c6 C#: Fix unhandled GD0303 error for nested generic attribute types 2024-10-11 03:03:05 +08:00
DE YU
d4695e84a4 Add ReadOnlySpan API Overloads
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-09 23:14:38 +08:00
Chaosus
54f6a1bf64 Fix lookup symbol for enum members to search a correct code definition 2024-10-08 22:46:44 +03:00
Thaddeus Crews
71fe3d96ea
Merge pull request #97951 from juanjp600/dotnet-dictionary-debug-view
Fix untyped dictionary .NET debug visualization showing keys as values
2024-10-08 11:16:24 -05:00
Thaddeus Crews
f31a2cc9c9
Merge pull request #97270 from timothyqiu/optional-edconfig
Create `.editorconfig` file only on project creation
2024-10-08 11:14:43 -05:00