Raul Santos
9750e49c57
Add `NOTIFICATION_PREDELETE_CLEANUP` notification
...
New notification sent after `NOTIFICATION_PREDELETE` to let Objects cleanup at the very end, it should be the last notification sent.
2023-10-20 13:43:42 +02:00
jsjtxietian
1c70a7ae6a
Prevent godot crash from importing a certain kind of invalid gltf
...
invalid type: mistach interpolation CUBICSPLINE and value size
2023-10-20 16:58:11 +08:00
Yuri Sizov
4952d37f4b
Fix StringName leaks in VariantParser
2023-10-19 17:13:15 +02:00
Matthew Borkowski
2d262c072b
Fix `GDScriptCache::get_full_script` eating parsing errors because of early exit
...
Fixes #75545 .
2023-10-18 18:21:59 -04:00
smix8
36146258de
Fix NavRegion sync error messages
...
Fixes NavRegion sync error messages
2023-10-18 21:09:48 +02:00
George Marques
08e3f30299
GDScript: Don't optimize division and modulo on debug
...
Since the validated operators don't have checks for division by zero,
use the regular evaluator in debug which has those checks.
2023-10-18 14:12:51 -03:00
Rémi Verschelde
49f492d54b
Merge pull request #83532 from raulsntos/dotnet/nested-class-generation
...
C#: Fix generated nested class order
2023-10-18 16:54:58 +02:00
Raul Santos
fe078219fc
C#: Fix generated nested class order
2023-10-18 03:37:57 +02:00
Raul Santos
e6ebde8408
Fix C# docs to use the proper XML
...
Replaces some BBCode that was accidentally left in the C# documentation
with the proper XML syntax.
2023-10-18 01:56:25 +02:00
Rémi Verschelde
dce1aab174
Merge pull request #83514 from kleonc/docs-multiplication-operators-doing-xform_inv-csharp
...
Clarify C# docs for operators performing `xform_inv`
2023-10-18 00:06:02 +02:00
Rémi Verschelde
ca09afd530
Merge pull request #80489 from raulsntos/dotnet/diagnostics
...
C#: Improve diagnostic messages and add help link
2023-10-17 23:59:17 +02:00
rune-scape
9fb8862d73
GDScript: Lambda hot reloading
...
Co-authored-by: Adam Scott <ascott.ca@gmail.com>
2023-10-17 15:52:52 -04:00
kleonc
408de3b091
Clarify C# docs for operators performing xform_inv
2023-10-17 19:49:42 +02:00
Raul Santos
aa4dba5b56
C#: Improve diagnostic messages and add help link
...
- Reword diagnostic messages.
- Add help link to diagnostics.
2023-10-17 19:45:09 +02:00
Rémi Verschelde
109cb8e697
Merge pull request #83455 from Lunarisnia/fix/gdscript-error-typo
...
Fix grammar typo in GDScript error message
2023-10-17 16:13:02 +02:00
Rémi Verschelde
94810115fe
openxr: Sync with upstream 1.0.30
2023-10-17 15:46:01 +02:00
Lunarisnia
981c6c94c0
Fix grammar typo in GDScript error message
2023-10-17 01:33:37 +07:00
Rémi Verschelde
ddb7969cb6
Merge pull request #83257 from dalexeev/gds-fix-unresolved-type-for-incomplete-expressions
...
GDScript: Fix unresolved datatype for incomplete expressions
2023-10-16 18:44:27 +02:00
Rémi Verschelde
6a0716dedd
Merge pull request #83123 from astillich/82998-propagate-base-class-exports
...
Fix modifying base script exports not propagating to derived scripts
2023-10-16 18:43:39 +02:00
Rémi Verschelde
50212ecfdb
Merge pull request #78882 from dalexeev/gds-fix-utility-func-err-msg
...
GDScript: Fix incorrect error message for utility functions
2023-10-16 18:43:11 +02:00
Alexander Stillich
99f8751878
Fix editing exports in a base script not propagating the change to the opened property editor
...
This patch fixes the user having to navigate away from the selected node which has the derived script attached and back to see the changes of the base script exports reflected in the property editor.
2023-10-16 17:55:19 +02:00
Martin Capitanio
0983022e0c
ThorVG: Update to v0.11.1
...
https://github.com/thorvg/thorvg/releases/tag/v0.11.1
Godot related:
+ [SwEngine] Enhanced the quality of the dash line corners.
+ [SVG] Fixed a regression bug related to maskContentUnit,
userSpaceOnUse/objectBoundingBox.
Fixes #82982 icons.
Fixes #83198 svg ← png/jpg.
2023-10-16 13:48:22 +02:00
Danil Alexeev
0c2202c56e
GDScript: Fix incorrect error message for utility functions
2023-10-16 14:09:57 +03:00
Raul Santos
be1dfd3b3a
C#: Allow exporting games without C#
...
When exporting a game that contains a C# solution, a feature is added so the exported game can check if it should initialize the .NET module. Otherwise, the module initialization is skipped so games without C# won't check for the assemblies and won't show alerts when they're missing.
2023-10-16 05:07:11 +02:00
Raul Santos
d525a45e5c
C#: Fix converting default Callables to native
2023-10-15 02:02:58 +02:00
Raul Santos
a186343abd
C#: Fallback to the latest SDK
2023-10-14 14:21:48 +02:00
Dario
47214ea9f5
Optimize lightmapper using triangle clusters on the acceleration structure.
...
Add an additional layer of indirection to the grid used by the lightmapper to store fixed-size triangle clusters. Greatly speeds up baking times on scenes with high triangle density, as the clusters will help to avoid unnecessary checks when the triangle density is high on the scene.
2023-10-13 17:57:25 -03:00
Rémi Verschelde
a574c0296b
Merge pull request #80452 from strellydev/ogg-loop-offset-pop-fix
...
Fix OGG audio loop offset pop
2023-10-13 22:45:59 +02:00
Rémi Verschelde
325cc0178e
Merge pull request #83279 from Faless/mp/fix_delta_indexed
...
[MP] Fix "on change" indexed properties
2023-10-13 22:20:21 +02:00
Rémi Verschelde
56a0f22391
Merge pull request #83264 from Faless/mp/timer_and_reset_fixes
...
[MP] Fix synchronizer init and reset
2023-10-13 22:18:37 +02:00
Rémi Verschelde
68cc80ee58
Merge pull request #83249 from zaevi/fix_csharp_lookup_singleton_instance
...
C#: Fix lookup for singleton instance types.
2023-10-13 22:17:50 +02:00
strellydev
9c9f1154f8
Fix OGG audio loop offset pop.
...
Co-authored-by: MJacred <loesch.benny92@gmx.de>
Co-authored-by: Ellen Poe <ellen.h.poe@gmail.com>
Co-authored-by: Michael Wörner <mwoerner@semw-software.com>
2023-10-13 19:54:24 +01:00
Dario
a9a197d2dc
Rewrite the GPU Lightmapper's indirect lighting logic to match Godot 3.5's CPU Lightmapper.
...
Port over the logic from Godot 3.5 for indirect lighting. This should fix many issues about indirect bounces causing more energy and improve the overall quality of the result.
2023-10-13 14:33:55 -03:00
Fabio Alessandrelli
9d44954a3f
[MP] Fix "on change" indexed properties
...
Watchers were still using Object::get instead of Object::get_indexed.
2023-10-13 16:53:24 +02:00
ocean (they/them)
f870711739
GDScript: add module description in markdown
2023-10-13 10:46:24 -04:00
Fabio Alessandrelli
f79b90a6c0
[MP] Fix synchronizer init and reset
...
Fix set_multiplayer_authority not resetting the synchronizer.
Fix the reset function not clearing the watchers state.
Skip wrap around check for the first sync packet after reset.
2023-10-13 14:03:40 +02:00
bruvzg
9a1e0e4aef
[Bitmap fonts] Add support for scaling.
2023-10-13 12:57:45 +03:00
Danil Alexeev
3ac61aadd7
GDScript: Fix unresolved datatype for incomplete expressions
2023-10-13 12:52:14 +03:00
Rémi Verschelde
cd9fd6ddfd
Merge pull request #83216 from dalexeev/code-editor-fix-region-doc-comment
...
Code Editor: Fix regression with using doc comments for code regions
2023-10-13 11:46:44 +02:00
Rémi Verschelde
85e508b570
Merge pull request #80182 from mikemar10/mikemar10/update_documentation_enetconnection_eventreceive
...
Fix packet details of ENetConnection EventType EVENT_RECEIVE documentation
2023-10-13 11:43:11 +02:00
Rémi Verschelde
5e9d096f06
Merge pull request #79407 from zaevi/fix_web_websocket-close-reason
...
[Web] Fix WebSocket returning empty close-reason.
2023-10-13 11:42:41 +02:00
Zae
55f74d99f4
C#: Fix lookup for singleton instance types.
2023-10-13 16:40:46 +08:00
Danil Alexeev
881fe67d94
Code Editor: Fix regression with using doc comments for code regions
2023-10-13 09:38:03 +03:00
Jakub Marcowski
cb954c6bab
Implement `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`
2023-10-12 13:46:49 +02:00
Rémi Verschelde
2c79bc686e
Merge pull request #83150 from dalexeev/gds-autocomplete-static-var-on-class
...
GDScript: Add autocompletion for static variables accessed via class
2023-10-11 22:44:35 +02:00
Rémi Verschelde
25fa5eadd5
Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
...
Fix external editor hot reload for GDScript
2023-10-11 22:38:42 +02:00
bruvzg
899e56de5d
Re-add optional OIDN denoise as an external executable.
2023-10-11 19:52:18 +03:00
Danil Alexeev
496bee3bc7
GDScript: Add autocompletion for static variables accessed via class
2023-10-11 17:10:16 +03:00
Danil Alexeev
668ba2d1a5
GDScript: Allow empty parentheses for property getter declaration
2023-10-11 09:54:17 +03:00
Fabio Alessandrelli
5df7577a05
[MP] Optimize internal SceneReplicationConfig access
...
Use direct pointer addressing to avoid unnecessary refs/unrefs
2023-10-10 14:42:54 +02:00
Fabio Alessandrelli
311a27281f
[MP] Avoid unnecessary internal ref/unrefs
...
Access the various internal components (cache/replicator) via pointer,
to avoid unnecessary overhead.
2023-10-10 14:42:54 +02:00
Fabio Alessandrelli
9ce423914e
[MP] Optimize internal authority checks
...
We already know which MultiplayerAPI a certain Node uses, so we don't
need to retrieve it via SceneTree every time.
2023-10-10 14:42:54 +02:00
Fabio Alessandrelli
61cf7d180c
[MP] Optimize multiplayer NodePath caching
...
Only use paths during network transfer.
Use ObjectID instead of NodePaths for storing the Node <-> NetID
relations locally.
2023-10-10 14:42:48 +02:00
Rémi Verschelde
53c6c387ef
Merge pull request #83050 from k0T0z/fix-unnecessary-include
...
Deleting unnecessary include in GDScriptParser
2023-10-10 12:33:58 +02:00
Rémi Verschelde
7f5be552ec
Merge pull request #83049 from dalexeev/gds-docgen-fix-return-metatype-regression
...
GDScript DocGen: Fix regression with return metatypes
2023-10-10 12:33:34 +02:00
Raul Santos
cea77d0b48
C#: Add checks to Android export
...
- Add .NET 7.0 TFM when the platform is Anroid to the created csproj.
- Prevent exporting to Android when the architecture is not supported.
2023-10-10 00:35:08 +02:00
Rémi Verschelde
6b727ebdd2
Merge pull request #83068 from AThousandShips/null_fix
...
Fix incorrect null check
2023-10-09 23:27:17 +02:00
Rémi Verschelde
9694f1d48c
Merge pull request #83051 from Repiteo/c#-untyped-to-typed-argumentnullexception
...
C#: Untyped to typed `ArgumentNullException`
2023-10-09 23:24:52 +02:00
Rémi Verschelde
e0ea86f0a0
Merge pull request #83040 from DarioSamo/lightmapper-dda-fix
...
Fix `trace_ray()` function in the lightmapper missing hits with large triangles.
2023-10-09 23:24:23 +02:00
Rémi Verschelde
4a5801b44a
Merge pull request #82729 from shana/shana/ios-csharp
...
Add C# iOS support
2023-10-09 23:23:11 +02:00
Rémi Verschelde
a28dab7e82
Merge pull request #79711 from adamscott/web-non-blocking-main-thread
...
Add `proxy_to_pthread` option to `platform=web`
2023-10-09 23:22:22 +02:00
Rémi Verschelde
71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
...
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
A Thousand Ships
2eef0ffb77
Fix incorrect null check
2023-10-09 23:21:30 +02:00
Andreia Gaita
ee9a735c26
Add C# iOS support
...
This support is experimental and requires .NET 8
Known issues:
- Requires macOS due to use of lipo and xcodebuild
- arm64 simulator templates are not currently included
in the official packaging
2023-10-09 18:22:56 +02:00
Adam Scott
78c2a08fae
Add `proxy_to_pthread` option to `platform=web`
...
Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2023-10-09 11:50:01 -04:00
Saif Kandil
3e57279be2
removing unnecessary include of gdscript_warning.h as it is already included in the header file
...
Signed-off-by: Saif Kandil <74428638+k0T0z@users.noreply.github.com>
2023-10-09 18:00:44 +03:00
Thaddeus Crews
d0cd726310
C#: untyped to typed handle null exception
...
• Add some missing exception/return documentation
2023-10-09 09:53:21 -05:00
Danil Alexeev
faa066f9e5
GDScript DocGen: Fix regression with return metatypes
2023-10-09 17:38:54 +03:00
Rémi Verschelde
a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
...
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde
336260b7b3
Merge pull request #83002 from AThousandShips/safety_check
...
Replace `sanity` with `safety` for checks
2023-10-09 15:36:49 +02:00
Dario
94c60ae556
Fix trace_ray() function in the lightmapper missing hits with large triangles.
...
The DDA traversal had a conceptual error where it did an early termination of the search if it hit a triangle, but it didn't check if the hit position was inside the bounds of the cell being traversed. This can aid to fix light leaks such as the ones found in issue #75440 .
2023-10-09 09:44:40 -03:00
kobewi
6849cf48d1
Fix GDScript cache assigning UID as scene path
2023-10-09 13:57:31 +02:00
Danil Alexeev
de7cbe8789
Highlight doc comments in a different color
2023-10-08 19:26:10 +03:00
A Thousand Ships
f18aa00e85
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-08 17:23:33 +02:00
A Thousand Ships
034c0f1624
Replace `sanity` with `safety` for checks
2023-10-08 16:22:24 +02:00
Thaddeus Crews
d5d5af653e
C# - Fix inheritdoc links in Compat.cs
2023-10-08 09:14:28 -05:00
Omar Shehata
c25a2d832b
Fix external editor hot reload
2023-10-07 22:14:54 -04:00
Raul Santos
bfe1a93023
C#: Report diagnostic for Node exports in a type that doesn't derive from Node
2023-10-06 19:03:18 +02:00
George Marques
4a7d49a89a
GDScript: Replace ptrcalls on MethodBind to validated calls
...
This improves the performance of typed calls to engine methods when the
argument types are exact.
Using validated calls delegate more of the work the core instead of
doing argument unpacking in the VM. It also does not need different
instructions for each return type, simplifying the code.
2023-10-06 11:15:44 -03:00
Rémi Verschelde
7f8c3124a8
Merge pull request #82752 from decacis/openxr_swapchain_error
...
OpenXR - Properly skip frame render when the XR runtime is not yet ready to let us acquire the next image from the swapchain
2023-10-06 12:52:52 +02:00
Rémi Verschelde
373c4b22d3
Fix various typos with codespell
...
Using 2.2.7.dev5+g2af65969.
2023-10-06 12:52:22 +02:00
jsjtxietian
b0ccd5c84f
Prompt require editor restart to user when gizmo color changed
2023-10-06 15:02:03 +08:00
Rémi Verschelde
1edf0f35b1
Merge pull request #82326 from adeneve/gdscript_dict_highlighter_fix
...
Fix for GDScriptHighlighter dictionaries as function arguments
2023-10-05 22:49:47 +02:00
Andrew de Neve
978fcaf1b4
Fix for gdscript_highlighter dictionaries as arguments
...
Fix for gdscript_highlighter. When passing a dictionary
as a function argument, the dictionary values were being
highlighted green as if they were types.
2023-10-05 12:38:39 -07:00
clayjohn
51ed3aef63
Vertex and attribute compression to reduce the size of the vertex format.
...
This allows Godot to automatically compress meshes to save a lot of bandwidth.
In general, this requires no interaction from the user and should result in
no noticable quality loss.
This scheme is not backwards compatible, so we have provided an upgrade
mechanism, and a mesh versioning mechanism.
Existing meshes can still be used as a result, but users can get a
performance boost by reimporting assets.
2023-10-05 12:02:23 -06:00
Rémi Verschelde
cd7c50fdf1
Merge pull request #82843 from dalexeev/gds-export-node-only-in-nodes
...
GDScript: Add error when exporting node in non `Node`-derived classes
2023-10-05 16:33:04 +02:00
Danil Alexeev
9e2273abc7
GDScript: Add error when exporting node in non [Node]-derived classes
2023-10-05 13:50:26 +03:00
kobewi
09b30be86d
Add vararg call() method to C++ Callable
2023-10-05 11:35:29 +02:00
Rémi Verschelde
7c1abe8599
Merge pull request #82789 from dalexeev/gds-fix-unresolved-type-for-incomplete-bin-op
...
GDScript: Fix unresolved datatype for incomplete binary operator
2023-10-05 10:10:33 +02:00
Rémi Verschelde
a05c800a56
Merge pull request #82784 from dalexeev/gds-fix-empty-native-class
...
GDScript: Fix `native_type` is empty for autoload without script
2023-10-05 10:10:09 +02:00
Rémi Verschelde
5cee7b0264
Merge pull request #82767 from dalexeev/core-make-object-has-method-virtual
...
Core: Fix `Object::has_method()` for script static methods
2023-10-05 10:09:45 +02:00
Rémi Verschelde
5c26550b86
Merge pull request #82715 from BastiaanOlij/openxr_hand_joint_validity_flags
...
OpenXR - add access to hand joint validity flags
2023-10-05 10:09:22 +02:00
Rémi Verschelde
b9bf46de9e
Merge pull request #82067 from dalexeev/gds-docgen-fix-metatypes-and-values
...
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-10-05 10:07:43 +02:00
Daniel Castellanos
771ec958af
Fixing incorrect swapchain release timing
...
Applied a couple of checks suggested by @dhoverml for when the
XrResult is not XR_SUCCESS but is also not a failure. Also simplified
checks from @BastiaanOlij feedback.
2023-10-05 01:34:51 -06:00
Bastiaan Olij
50693a5420
OpenXR - add access to hand joint validity flags
2023-10-05 13:37:26 +11:00
Danil Alexeev
ed0b3c08e1
Core: Fix `Object::has_method()` for script static methods
2023-10-04 19:44:32 +03:00
Danil Alexeev
2c5636c135
GDScript: Fix unresolved datatype for incomplete binary operator
2023-10-04 17:07:37 +03:00
Rémi Verschelde
bfd78bb917
Merge pull request #82779 from emacser0/typo
...
Fix some typos in source
2023-10-04 15:46:29 +02:00
Rémi Verschelde
46b8f4a859
Merge pull request #82740 from raulsntos/dotnet/compat4.2
...
Add C# compat members for 4.2 changes
2023-10-04 15:44:05 +02:00
Rémi Verschelde
d7bca20359
Merge pull request #82722 from BastiaanOlij/openxr_fix_hand_tracking_issues
...
OpenXR: Fix small hand tracking issues
2023-10-04 15:43:18 +02:00
Rémi Verschelde
1e544505be
Merge pull request #82691 from YuriSizov/rst-validate-with-exceptions
...
Validate `code` tags for class and member references
2023-10-04 15:42:42 +02:00
Rémi Verschelde
a874344938
Merge pull request #82683 from raulsntos/dotnet/fix-transient-parent-or-something-idk
...
Fix C# editor dialogs
2023-10-04 15:36:47 +02:00
Danil Alexeev
6767de9b69
GDScript: Fix `native_type` is empty for autoload without script
2023-10-04 16:09:18 +03:00
emacser0
4c65ff52e4
Fix some typos in source.
2023-10-04 19:55:11 +09:00
Bastiaan Olij
c60ef33175
OpenXR Fix small hand tracking issues
2023-10-04 13:18:31 +11:00
Raul Santos
1dbecc3ff1
Add C# compat members for 4.2 changes
2023-10-03 19:34:39 +02:00
Rémi Verschelde
3a5d524287
Merge pull request #82614 from m4gr3d/openxr_eye_gaze_interaction
...
Add support for the OpenXR Eye gaze interaction extension
2023-10-03 17:25:52 +02:00
Rémi Verschelde
e41582f42f
Merge pull request #82547 from dalexeev/gds-fix-unsafe-call-arg-variant-constructors
...
GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors
2023-10-03 17:25:28 +02:00
Rémi Verschelde
2af3229ce7
Merge pull request #82516 from dalexeev/gds-improve-hl-types
...
GDScript: Improve highlighting of types
2023-10-03 17:24:32 +02:00
Rémi Verschelde
9af1983af2
Merge pull request #82475 from bruvzg/ts_spacing_var
...
[TextServer] Store font extra spacing variations without making a full copy of font.
2023-10-03 17:23:43 +02:00
Rémi Verschelde
6de06138c0
Merge pull request #79425 from vnen/gdscript-load-classes-for-debug-tests
...
GDScript: Load global classes when running debug tests
2023-10-03 17:11:01 +02:00
Danil Alexeev
e750c59cf8
GDScript: Improve highlighting of types
2023-10-03 17:32:27 +03:00
Yuri Sizov
cc0eebd9d8
Validate `code` tags for class and member references
...
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.
Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
Bastiaan Olij
9e56e7a3ce
Add support for the OpenXR Eye gaze interaction extension
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-10-02 14:02:23 -07:00
Rémi Verschelde
5efbed51cc
GDScript: Improve error messages for invalid indexing
...
These errors are very common when using an invalid property name
or calling on an object of the wrong type, and the previous message
was a bit cryptic for users.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: golfinq <golfinqz@gmail.com>
2023-10-02 14:23:11 -04:00
Raul Santos
404fd0b2dc
Fix C# editor dialogs
...
- Use `EditorInterface` to open C# editor dialogs.
- Ensure C# editor dialogs are open after `EditorProgress` finishes.
2023-10-02 17:50:33 +02:00
Jakub Janšta
74c937079c
Add type_string() utility
2023-10-02 17:41:20 +02:00
Rémi Verschelde
6bebd9c961
Merge pull request #82664 from hackerzhuli/master
...
Fixed an error in `Vector3.BezierDerivative` in mono module
2023-10-02 13:17:02 +02:00
Rémi Verschelde
3cf17679ca
Merge pull request #81194 from rcorre/blend-import-76338
...
Update blender export flags for 3.6.
2023-10-02 13:16:11 +02:00
Rémi Verschelde
e95b7e84a4
Merge pull request #80844 from dalexeev/fix-callable-expected-argc
...
Fix expected argument count for `Callable` call errors
2023-10-02 13:15:53 +02:00
Rémi Verschelde
7588e3ff0d
Merge pull request #80225 from ettiSurreal/rotate-toward
...
Add `rotate_toward` and `angle_difference` methods.
2023-10-02 13:15:49 +02:00
朱力
bceba81b54
Fixed an error in Vector3.BezierDerivative in mono module
2023-10-02 15:00:05 +08:00
etti
3a39de4e2f
Add rotate_toward and angle_difference to GDScript and C#
2023-10-01 22:19:42 +02:00
Ithamar R. Adema
36ff0591f2
Add build option for MP1/MP2 audio format support.
...
Enabling this adds 3.5k to the template size (Win/64bits).
Co-authored-by: Riteo <riteo@posteo.net>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-09-30 21:46:59 +02:00
Ryan Roden-Corrent
7e64c6c399
Update blender export flags for 3.6.
...
Fixes #76338 .
Blender 3.6 imports fail with:
```
TypeError: Converting py args to operator properties: : keyword "export_nla_strips" unrecognized
```
The `export_nla_strips` flag was removed and replaced with `export_animation_mode`.
In 3.6.0-3.6.21, this option does not exist at all and causes the failure above.
In 3.6.22, this option was re-added, but does nothing.
See 96a73cb664
.
We now need to check the blender version to determine what flags to use.
This adds an additional shell command before every import.
We might consider caching the version, but we'd have to invalidate the cache if the blender version or path changes.
As an aside, the "group animations" setting in Godot does the opposite of what I'd expect.
When `group_tracks=true`, each animation is exported individually.
When `group_tracks=false`, all animations are exported as a single track.
This seems backwards, but I've kept the 3.6 behavior consistent with 3.5.
From https://docs.blender.org/api/3.6/bpy.ops.export_scene.html :
> ACTIONS Actions – Export actions (actives and on NLA tracks) as separate animations.
> ACTIVE_ACTIONS Active actions merged – All the currently assigned actions become one glTF animation.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-09-30 11:32:21 -04:00
Danil Alexeev
ba96d4f631
GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors
2023-09-30 13:57:09 +03:00
Rémi Verschelde
2566cbec5c
Merge pull request #82542 from capnm/update_godot4.2_tip_from_0.10.7_revision_to_thorvg_0.11.0_release
...
ThorVG: update to v0.11.0 release.
2023-09-30 11:03:32 +02:00
Martin Capitanio
aab650f2ef
ThorVG: update to v0.11.0 release.
...
See https://github.com/thorvg/thorvg/releases/tag/v0.11.0
+ Infrastructure
Repository folder structure was make it more intuitive and coherent.
"thorvg/src/lib" -> "thorvg/src/common"
(providing essential common functionalities
used internally among the renderer and sub-modules)
"thorvg/src/lib" -> "thorvg/src/renderer"
(for vector drawing features)
+ SVG related
Fix stroke regression https://github.com/thorvg/thorvg/issues/1670
Support stroke dash offset function https://github.com/thorvg/thorvg/issues/1591#issuecomment-1681319321
Support Focal property in Radial Gradient https://github.com/thorvg/thorvg/issues/1558
2023-09-29 19:50:19 +02:00
Rémi Verschelde
dd3dda797c
Merge pull request #82533 from DarioSamo/no-dilate-before-denoise
...
Make the lightmapper not dilate before denoising.
2023-09-29 19:47:29 +02:00
Danil Alexeev
aff767ef07
Fix expected argument count for `Callable` call errors
2023-09-29 20:00:10 +03:00
Dario
ac90ca714c
Make the lightmapper not dilate before denoising.
...
Dilating noisy data caused issues for the denoiser. Fixes #82526 .
2023-09-29 12:36:36 -03:00
Hugo Locurcio
d6d640f158
Disable `lightmapper_rd` module in non-editor builds (and in Android editor)
...
This is consistent with `xatlas_unwrap`, which isn't enabled in non-editor
builds and the Android editor either. There is currently no way to
use the lightmapper in a non-editor build anyway, as it doesn't expose
any methods (and even if there was, there would be no way to perform
UV2 unwrapping in the exported project).
This reduces binary size of a stripped Linux x86_64 export template
build by ~164 KB.
This also moves the PrimitiveMesh texel size project setting
so that it's defined when the module is disabled,
and adds a property hint to it.
2023-09-29 11:30:15 +02:00
Aaron Franke
7bd894ba7a
Fix skeletons when generating multiple Godot scenes from one GLTF
2023-09-28 17:48:33 -05:00
Yuri Sizov
b25f1f9c79
Merge pull request #82477 from dalexeev/gds-covariance-and-contravariance
...
GDScript: Add return type covariance and parameter type contravariance
2023-09-28 20:04:37 +02:00
Yuri Sizov
4c95ebddd6
Merge pull request #82291 from bitsawer/fix_occlusion_culling_leak
...
Fix RaycastOcclusionCull World3D scenario memory leak
2023-09-28 20:04:25 +02:00
Yuri Sizov
78483a1df2
Merge pull request #82186 from dalexeev/gds-fix-property-duplication
...
GDScript: Fix duplication of inherited script properties
2023-09-28 20:04:18 +02:00
Yuri Sizov
73252669b1
Merge pull request #82030 from dalexeev/gds-make-for-loop-array-literal-typed
...
GDScript: Make array literal typed if `for` loop variable type is specified
2023-09-28 20:04:12 +02:00
Yuri Sizov
813cd1dfc8
Merge pull request #80085 from vnen/gdscript-pattern-guards
...
GDScript: Implement pattern guards for match statement
2023-09-28 20:03:57 +02:00
Danil Alexeev
cb8b89fd95
GDScript: Add return type covariance and parameter type contravariance
2023-09-28 12:27:36 +03:00
bruvzg
4a167fc740
[TextServer] Store font extra spacing variations without making a full copy of font.
2023-09-28 10:45:09 +03:00
Yuri Sizov
aa82cccc41
Merge pull request #81659 from DarioSamo/nlm-denoiser
...
Replace OIDN denoiser in Lightmapper with a JNLM denoiser compute shader.
2023-09-27 19:08:01 +02:00
Yuri Sizov
aa474c9feb
Merge pull request #75988 from dalexeev/gds-unsafe-call-argument
...
GDScript: Improve call analysis
2023-09-27 19:07:46 +02:00
George Marques
54a1414500
GDScript: Implement pattern guards for match statement
...
Within a match statement, it is now possible to add guards in each
branch:
var a = 0
match a:
0 when false: print("does not run")
0 when true: print("but this does")
This allows more complex logic for deciding which branch to take.
2023-09-27 11:25:25 -03:00
Rémi Verschelde
214c978f4b
Merge pull request #81862 from akien-mga/thorvg-0.10.6
...
thorvg: Update to 0.10.7
2023-09-27 14:03:38 +02:00
Rémi Verschelde
3228f73127
Merge pull request #82413 from Calinou/3d-editor-gizmos-ignore-fog
...
Make 3D editor gizmos and debug shapes ignore fog
2023-09-27 09:21:35 +02:00
Rémi Verschelde
c7a5a284d3
Merge pull request #80260 from raulsntos/dotnet/msbuild-panel
...
C#: Redesign MSBuild panel
2023-09-27 09:20:19 +02:00
Raul Santos
f19694a8d6
C#: Redesign MSBuild panel
...
- Redesign panel to look closer to the look of other Godot panels such as Output and Debugger.
- Moved list of problems and output log to separate tabs instead of using a HSplit.
- Added Tree/List layouts to the problems tab.
- Added search box to filter problems tab.
- Added `FileTree` icon, made from `FileList`. Both are used for the button that toggles the Tree/List layouts.
2023-09-27 02:53:27 +02:00
Hugo Locurcio
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
...
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +02:00
Rémi Verschelde
81949c2cd2
thorvg: Update to 0.10.7
...
Fixes #81618 .
2023-09-26 22:43:44 +02:00
bitsawer
7654e7852e
Fix RaycastOcclusionCull World3D scenario memory leak
2023-09-26 21:53:17 +03:00
Rémi Verschelde
dc14f02892
Merge pull request #81851 from aaronfranke/gltf-single-root
...
GLTF: Add root node export options and GODOT_single_root extension
2023-09-26 17:52:51 +02:00
Aaron Franke
446893fdd1
GLTF: Add GODOT_single_root extension
2023-09-26 10:18:52 -05:00
A Thousand Ships
517e9f8aef
[Modules] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-26 16:44:52 +02:00
Rémi Verschelde
da91cf9367
Merge pull request #82347 from SaracenOne/dir_access_checks
...
Add error checks for DirAccess creation
2023-09-26 16:36:47 +02:00
Rémi Verschelde
9b0b441cf3
Merge pull request #82139 from dalexeev/gds-add-inferred-declaration-warning
...
GDScript: Add `INFERRED_DECLARATION` warning
2023-09-26 16:36:39 +02:00
Rémi Verschelde
4410b0b0e1
Merge pull request #67304 from wscalf/master
...
Allow readonly and writeonly C# properties to be accessed from GDScript
2023-09-26 16:36:33 +02:00
Rémi Verschelde
e9e99775f1
Merge pull request #82375 from raulsntos/dotnet/fix-compat
...
C#: Remove compat method that is now generated
2023-09-26 16:36:27 +02:00
Rémi Verschelde
e0b1171396
Merge pull request #82368 from kleonc/NavMeshGenerator2D-dev-assert-assignment-typo
...
Fix typo in dev assert in NavMeshGenerator2D
2023-09-26 16:36:19 +02:00
Raul Santos
f60cff1cb2
C#: Remove compat method that is now generated
2023-09-26 16:12:10 +02:00
kleonc
5904c2ca19
Fix typo in dev assert in NavMeshGenerator2D
2023-09-26 14:30:23 +02:00
Rémi Verschelde
42011d8673
Merge pull request #82240 from jaros3/vector2i-gethashcode
...
[C#] Use `HashCode.Combine()` for basic composite types instead of xor
2023-09-26 13:45:18 +02:00
Rémi Verschelde
10c3941a9a
Merge pull request #80587 from garychia/shadowed_class_name
...
Check if any global script class is shadowed by a variable
2023-09-26 13:44:56 +02:00
Rémi Verschelde
017541bcec
Merge pull request #80527 from raulsntos/dotnet/generate-compat-methods-from-classdb
...
C#: Generate and use compat methods
2023-09-26 13:44:52 +02:00
Chia-Hsiang Cheng
ceda13720b
Check if any global script class is shadowed by a variable
2023-09-26 16:47:17 +08:00
bruvzg
bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent.
2023-09-26 09:39:51 +03:00
Rémi Verschelde
0c626bdfb0
Merge pull request #82294 from dalexeev/gds-fix-gdsnc-crash
...
GDScript: Fix crash with `GDScriptNativeClass`
2023-09-26 08:31:26 +02:00
Rémi Verschelde
446c1fa8b7
Merge pull request #82225 from BrunoArmondBraga/improves_regextests
...
Adds additional tests for RegEx class
2023-09-26 08:30:12 +02:00
Rémi Verschelde
b45933931b
Merge pull request #81219 from akien-mga/vulkan-sdk-1.3.261.1
...
vulkan: Update all components to Vulkan SDK 1.3.261.1
2023-09-26 08:18:23 +02:00
Rémi Verschelde
7dccb9e039
Merge pull request #80796 from smix8/navgenerator_2d_4.x
...
Add 2D navigation mesh baking
2023-09-26 08:17:58 +02:00
Saracen
3f4513d4de
Add error checks for DirAccess creation.
2023-09-26 03:07:43 +01:00
Fabio Alessandrelli
e0140601a5
[Crypto] Fix generate_random_bytes for large chunks
...
Properly handle mbedtls errors, ensure we don't ask more bytes than
allowed for each iteration.
2023-09-25 22:16:36 +02:00
Dario
ab65effed0
Remove denoise module and thirdparty OIDN.
...
This is replaced by a much lighter weight and faster JNLM denoiser. OIDN is still much more accurate, and may be provided as an optional backend in the future, but the JNLM denoiser seems good enough for most use cases and removing OIDN reduces the build system complexity, binary size, and build times very significantly.
2023-09-25 14:53:45 -03:00
Dario
1b2b726502
Replace OIDN denoiser with a JNLM denoiser compute shader implementation.
2023-09-25 14:53:45 -03:00
smix8
0ee7e3102b
Add 2D navigation mesh baking
...
Adds 2D navigation mesh baking.
2023-09-25 19:48:14 +02:00
Rémi Verschelde
34de6c624c
Merge pull request #82272 from darksylinc/matias-gltf-color
...
Fix gltf importer forcing vertex colors on all materials
2023-09-25 18:38:25 +02:00
Rémi Verschelde
e4cfd4e26a
Merge pull request #82195 from AThousandShips/radian_fix
...
Replace `radians` range hint with `radians_as_degrees`
2023-09-25 17:18:38 +02:00
Rémi Verschelde
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
...
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
Rémi Verschelde
3e15c8f285
Merge pull request #81833 from 0x4448/fix-autocomplete-quotes
...
Fix autocomplete quotes
2023-09-25 17:18:23 +02:00
Rémi Verschelde
7a29189858
Merge pull request #81200 from RandomShaper/gd_vm_msvc
...
Optimize GDScript VM codegen for MSVC
2023-09-25 17:18:19 +02:00
Rémi Verschelde
d759f91f8d
Merge pull request #81101 from 398utubzyt/dotnet/abstract-class-support
...
C#: Add abstract class support
2023-09-25 17:18:05 +02:00
Rémi Verschelde
9fdf24fa67
Merge pull request #80881 from BastiaanOlij/openxr_foveation_ext
...
Implement OpenXR Foveated rendering support
2023-09-25 17:18:00 +02:00
Rémi Verschelde
1a0e653d7f
Merge pull request #78573 from dalexeev/editor-create-script-class-name
...
Editor: Remove unused Class Name field from Create Script dialog
2023-09-25 17:17:46 +02:00
Pedro J. Estébanez
9c15e2f24b
Optimize GDScript VM codegen for MSVC
2023-09-25 16:32:36 +02:00
Danil Alexeev
16b024ba82
GDScript: Fix crash with `GDScriptNativeClass`
2023-09-25 17:09:20 +03:00
Jaroslav Wegner
f1bab5fa51
[C#] Use `HashCode.Combine()` for basic composite types instead of xor
2023-09-25 13:56:23 +03:00
Bastiaan Olij
d7d334158a
Implement OpenXR Foveated rendering support
2023-09-25 17:12:20 +10:00
A Thousand Ships
e45927b2f2
Replace `radians` range hint with `radians_as_degrees`
2023-09-25 08:50:19 +02:00
BrunoArmondBraga
5202b8f4b5
Adds additional tests for RegEx class
...
Co-authored-by: Guilhermev25 <guilhermeferreira2529@hotmail.com>
2023-09-25 01:03:49 -03:00
Matias N. Goldberg
ec0e6800bc
Fix gltf importer forcing vertex colors on all materials
...
The importer already checks if a mesh has vertex colors and enables
vertex colors on the material using it.
Before this fix, GLTF importer would force shader generation to use
vertex colors even if the scene did not have vertex colors at all, or
did not need them; causing inefficient shader and PSO generation.
2023-09-24 19:37:33 -03:00
Danil Alexeev
16e860bcb3
GDScript: Fix duplication of inherited script properties
2023-09-23 15:30:23 +03:00
Danil Alexeev
4ce27301d3
GDScript: Add `INFERRED_DECLARATION` warning
2023-09-22 23:13:52 +03:00
Rémi Verschelde
1c10ff37b3
Merge pull request #82098 from dalexeev/gds-prevent-engine-singleton-inheritance
...
GDScript: Prevent constructing and inheriting engine singletons
2023-09-22 22:05:34 +02:00
Rémi Verschelde
d65d379d22
Merge pull request #81802 from Nomad1/vs2022_mac_fix
...
Fixed VS 2022 Mac compatibility
2023-09-22 22:04:46 +02:00
Danil Alexeev
10b00bc2ea
GDScript: Prevent constructing and inheriting engine singletons
2023-09-22 17:30:00 +03:00
0x4448
7ea4247c3d
Omit quotes from completion if triggered with quote
...
Typing a single or double quote in an external editor triggers
auto-completion. The returned CompletionItem should not include
quotes since they're already in the editor.
CompletionParams was missing context in to_json() and this is
required to detect whether a quote was typed.
2023-09-21 17:37:32 -07:00
Nomad1
a119365d4e
Fixed VS 2022 Mac compatibility
...
Visual Studio 2022 on Mac marks the project as invalid if the project Guid is set. Easiest way to fix it is to remove outdated 'EnableGodotProjectTypeGuid' and other Guid references
2023-09-21 15:30:10 -02:30
Danil Alexeev
426ccba70e
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-09-21 20:44:34 +03:00
Hugo Locurcio
7831eedf1c
Fix directional LightmapGI being too dark with static lights
...
The brightness now matches dynamic lights (indirect light baked only)
when Directional is enabled.
Co-authored-by: Priyansh Rathi <techiepriyansh@gmail.com>
2023-09-21 18:00:54 +02:00
bruvzg
1887a9df19
[macOS/Windows] Add optional ANGLE backed OpenGL renderer support. Add EGL_ANDROID_blob_cache caching.
...
Co-authored-by: Riteo <riteo@posteo.net>
2023-09-21 14:21:00 +03:00
Danil Alexeev
e8696f9961
GDScript: Improve call analysis
...
* Add missing `UNSAFE_CALL_ARGUMENT` warning.
* Fix `Object` constructor.
* Display an error for non-existent static methods.
2023-09-21 13:36:39 +03:00
Danil Alexeev
3c35e7f1d6
GDScript: Make array literal typed if `for` loop variable type is specified
2023-09-21 11:25:59 +03:00
Rémi Verschelde
70150bac8a
Merge pull request #81978 from MewPurPur/donut-buff
...
Improve the Torus icons
2023-09-20 18:55:28 +02:00
Rémi Verschelde
5fd8506e19
Merge pull request #81847 from crazyStewie/dotnet_editor_project_fix
...
Implemented {project} placeholder for external dotnet editor
2023-09-20 18:55:13 +02:00
Rémi Verschelde
ce0fa4c691
Merge pull request #81783 from zaevi/fix-csharp-static-method
...
C#: make C# static methods accessible.
2023-09-20 18:55:10 +02:00
Zae
67e1373e5a
C#: make C# static methods accessible.
2023-09-20 22:49:33 +08:00
crazyStewie
c01a47867b
Implemented {project} placeholder for external dotnet editor
...
Implements the {project} placeholder, available when setting an external editor
in the project settings, via Editor > Editor Settings > Text Editor > External
for the c# external editor, under Editor > Editor Settings > Dotnet > Editor,
This allows passing the project folder as a command line argument when using a
custom external editor that isn't one of the available options.
Fixes #81845
2023-09-20 10:20:45 -03:00
Rémi Verschelde
0ba19c3e4a
Merge pull request #81914 from jsjtxietian/update-mesh-list-immeditely-after-set-mesh-library
...
Update mesh list UI immediately after setting mesh library in gridmap
2023-09-20 15:18:28 +02:00
MewPurPur
a40a2ff7d9
Improve the Torus icons
2023-09-20 15:42:37 +03:00
Rémi Verschelde
4613bfc9df
Merge pull request #81934 from Repiteo/c#-CS1591-disabled-to-suggestion
...
C#: CS1591 from `NoWarn` to `suggestion`
2023-09-20 13:10:12 +02:00
Rémi Verschelde
888d3252ba
Merge pull request #81881 from lotuspar/patch-1
...
Rewrite a small comment in GDScript tokenizer code
2023-09-20 13:09:44 +02:00
Rémi Verschelde
2c125bf9c0
Merge pull request #81872 from DarioSamo/lightmapper-half-pixel-offset
...
Add half-pixel offset to lightmapper rasterization.
2023-09-20 13:09:40 +02:00
Rémi Verschelde
281439ce20
Merge pull request #81699 from dalexeev/gds-fix-and-improve-doc-comment-parsing
...
GDScript: Fix and improve doc comment parsing
2023-09-20 13:09:32 +02:00
Rémi Verschelde
712ebe7d8a
Merge pull request #81332 from dalexeev/gds-fix-update-array-literal-in-weak-context
...
GDScript: Don't make array literal typed in weak type context
2023-09-20 13:09:23 +02:00
Rémi Verschelde
971f678442
Merge pull request #79510 from dalexeev/gds-fix-const-non-metatype-subscript
...
GDScript: Fix subscript resolution for constant non-metatypes
2023-09-20 13:09:17 +02:00
Rémi Verschelde
21b132616b
Merge pull request #74995 from dalexeev/gds-r-strings
...
GDScript: Add raw string literals (r-strings)
2023-09-20 13:09:13 +02:00
jsjtxietian
c9957d8907
Update meshes list UI immeditely after setting mesh library in gridmap
2023-09-20 10:51:19 +08:00
Yuri Sizov
4bd569be95
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-19 22:36:29 +02:00
Danil Alexeev
c35cb51d74
GDScript: Fix subscript resolution for constant non-metatypes
2023-09-19 22:26:06 +03:00
Raul Santos
5f6082a96b
C#: Generate and use compat methods
...
- Implements `ClassDB::get_method_list_with_compatibility` to retrieve all methods from a class including compat methods.
- C# bindings generator now also generates compat methods.
- All generated C# methods now use `ClassDB::get_method_with_compatibility`.
2023-09-19 20:35:11 +02:00
Thaddeus Crews
657d81e056
C#: CS1591 from `none` to `suggestion`
2023-09-19 13:12:06 -05:00
Gio
b6f1dbb340
Rewrite a bit of comment in tokenizer code
...
gdscript_tokenizer.cpp: `change` -> `changes`
2023-09-19 21:38:52 +08:00
Rémi Verschelde
e207595de9
Merge pull request #81844 from ryanabx/features/specify-lsp-port
...
Add `--lsp-port` as a command line argument
2023-09-19 09:04:30 +02:00
Rémi Verschelde
c78d0e2eb0
Merge pull request #81819 from Chaosus/cs_max_min_vectors
...
Add Vector2/3/4i.MAX and MIN (C#)
2023-09-19 09:04:05 +02:00
Rémi Verschelde
3d3a9ee827
Merge pull request #81808 from anvilfolk/super-virtual
...
GDScript: Add check for `super()` methods not being implemented
2023-09-19 09:03:42 +02:00
Dario
ddc3126bbf
Add half-pixel offset to lightmapper rasterization.
...
Add half-pixel offset to lightmapper to fix issues where the ray would be generated from the wrong spot corresponding to the pixel and causing light leaks. Fixes Issue #69126 .
2023-09-18 11:56:04 -03:00
ryanabx
a5b7c4c415
Add `--lsp-port` as a command line argument
2023-09-18 08:51:15 -05:00
Rémi Verschelde
793c382fa7
Merge pull request #81703 from Repiteo/c#-binding-warnings-to-editorconfig
...
C# - `bindings_generator` warnings to `.editorconfig`
2023-09-18 10:38:12 +02:00
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
...
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
ocean (they/them)
729c9b4d4b
GDScript: Add check for `super()` methods not being implemented
2023-09-17 16:21:28 -04:00
Yuri Roubinski
cf3008cb05
Add Vector2/3/4i.MAX and MIN (C#)
2023-09-17 22:12:59 +03:00
Rémi Verschelde
c63e0aefcf
Merge pull request #79366 from dalexeev/gds-signal-info-and-callback
...
Editor: Improve signal callback generation
2023-09-17 14:45:47 +02:00
Rémi Verschelde
691eecd9b6
Merge pull request #81704 from ellenhp/ogg_warn_once
...
Only warn once about OGG seeking issues
2023-09-16 21:24:30 +02:00
Rémi Verschelde
6c1be30836
Merge pull request #81605 from dalexeev/gds-fix-some-lambda-bugs
...
GDScript: Fix some lambda bugs
2023-09-16 21:23:42 +02:00
Rémi Verschelde
e5ac7cf034
Merge pull request #81577 from anvilfolk/thecycleeeeeeeeeeeeesaaaaaaaaaaaaah
...
GDScript: Fix compilation of expressions compiling other classes
2023-09-16 21:23:18 +02:00
Rémi Verschelde
51f67ea4c5
Merge pull request #81264 from aaronfranke/gltf-node-name-camera
...
GLTF: Change "Camera3D" generated node name to "Camera"
2023-09-16 21:22:29 +02:00
Rémi Verschelde
33b95f06e2
Merge pull request #80972 from KoBeWi/settings_from_nowhere
...
Cleanup some `GLOBAL_DEF`s
2023-09-16 21:22:04 +02:00
Rémi Verschelde
be53991b5a
Merge pull request #80272 from aaronfranke/gltf-root-node-logic
...
GLTF: Improve logic for keeping track of the real root node
2023-09-16 21:21:40 +02:00
Rémi Verschelde
f985bc9a8e
Merge pull request #79314 from aaronfranke/gltf-image-format
...
GLTF: Allow specifying export image format including from extensions
2023-09-16 21:21:15 +02:00
Thaddeus Crews
e43b63ab98
C# - bindings_generator warnings to .editorconfig
2023-09-16 11:55:04 -05:00
Danil Alexeev
072e9c5c82
GDScript: Fix and improve doc comment parsing
2023-09-16 17:31:50 +03:00
398utubzyt
2df37a237a
C#: Abstract script class support
2023-09-15 20:35:25 -07:00
kobewi
cd0aaab48c
Cleanup some GLOBAL_DEFs
2023-09-15 21:32:23 +02:00
Ellen Poe
729d270a25
Only warn once about OGG seeking issues
2023-09-15 11:04:39 -07:00
Yuri Sizov
5f1e56ff26
Merge pull request #81690 from raulsntos/dotnet/hide-hostfxr-error
...
C#: Hide hostfxr not found error
2023-09-15 19:48:48 +02:00
Yuri Sizov
df6cd37a69
Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
...
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
Raul Santos
394c0eb225
C#: Hide hostfxr not found error
...
Godot tries to find hostfxr in two locations, the method that tries
to retrieve the location printed an error when it was not found.
So when the first location fails it was printing an error, even if
the second location succeeded, and users were left confused thinking
there was something wrong with their installation.
Now the error will only be printed when stdout verbose is enabled.
Users will still get an error later if hostfxr is not found in any
of the two locations.
2023-09-15 14:12:01 +02:00
Aaron Franke
2723f781dd
GLTF: Allow specifying export image format including from extensions
2023-09-14 17:33:48 -05:00
Rémi Verschelde
a79955c440
Merge pull request #81653 from dalexeev/gds-fix-pot-gen-crash-on-assignee-with-index
...
GDScript: Fix POT generator crash on assignee with index
2023-09-14 23:41:21 +02:00
Rémi Verschelde
84caaf9f2f
Merge pull request #81531 from geowarin/double-input-gridmap
...
Fix some keys triggering their actions twice in GridMap
2023-09-14 23:40:10 +02:00
Rémi Verschelde
26493ca5bb
Merge pull request #78516 from raulsntos/dotnet/check-rider-path-is-empty
...
C#: Check if JetBrains Rider editor path is empty
2023-09-14 23:39:40 +02:00
Danil Alexeev
d991cc4998
GDScript: Fix POT generator crash on assignee with index
2023-09-14 17:41:05 +03:00
Yuri Sizov
1437b3a226
Merge pull request #81599 from ShadowApex/shadowapex/fix-extendparser-signals
...
Fix dumping of signal API parameters
2023-09-14 15:21:56 +02:00
Yuri Sizov
495b89ece9
Merge pull request #81561 from BastiaanOlij/fix_openxr_blend_modes
...
Fix issue with OpenXR environment blend mode not being applied properly
2023-09-14 15:21:49 +02:00
Yuri Sizov
ded139384e
Merge pull request #81536 from BastiaanOlij/fix_openxr_not_running_error_spam
...
OpenXR: Fix error spam if session hasn't started yet
2023-09-14 15:21:41 +02:00
Yuri Sizov
223fc3cdd3
Merge pull request #81440 from ryanabx/features/warn-strict-supertype-only
...
Remove `REDUNDANT_FOR_VARIABLE_TYPE` warning
2023-09-14 15:21:33 +02:00
Danil Alexeev
b1eb737719
GDScript: Fix some lambda bugs
2023-09-14 14:22:23 +03:00
Raul Santos
5f6524ad44
C#: Check if JetBrains Rider editor path is empty
2023-09-14 01:55:51 +02:00
Bastiaan Olij
3806d964e3
Fix issue with OpenXR environment blend mode not being applied properly
2023-09-13 14:07:23 +10:00
William Edwards
188132884d
Fix dumping of signal API parameters
2023-09-12 18:43:31 -07:00
ryanabx
ceda960131
Remove REDUNDANT_FOR_VARIABLE_TYPE
...
Remove REDUNDANT_FOR_VARIABLE_TYPE
2023-09-12 20:04:32 -05:00
kobewi
015953a3d9
Add helper for 3D gizmos and unify box
2023-09-12 18:08:02 +02:00
ocean (they/them)
d330f5642e
GDScript: Fix compilation of expressions compiling other classes
...
This PR is part of ongoing work on fixing cyclic dependencies in the GDScript
compiler.
2023-09-12 11:18:33 -04:00
Danil Alexeev
26ce861910
Editor: Remove unused Class Name field from Create Script dialog
2023-09-12 12:49:56 +03:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
...
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
0545ed5c71
Merge pull request #81355 from ryanabx/features/enforce-static-typing
...
Add an optional `untyped_declaration` warning
2023-09-12 08:49:57 +02:00
Rémi Verschelde
b539bfb263
Merge pull request #81201 from anvilfolk/rpc
...
GDScript: Fix subclass methods not inheriting RPC info
2023-09-12 08:49:33 +02:00
Danil Alexeev
4b5daf06ef
Editor: Improve signal callback generation
2023-09-11 18:45:39 +03:00
Danil Alexeev
2964c7d51c
GDScript: Add raw string literals (r-strings)
2023-09-11 18:34:33 +03:00
ocean (they/them)
711ffabcfe
GDScript: fix subclass methods not inheriting RPC info
2023-09-11 11:10:07 -04:00
BooksBaum
0202a36a7a
Language Server: Improve hovered symbol resolution, fix renaming bugs, implement reference lookup
...
Co-Authored-By: Ryan Brue <56272643+ryanabx@users.noreply.github.com>
Co-Authored-By: BooksBaum <15612932+booksbaum@users.noreply.github.com>
2023-09-11 09:46:34 -05:00
ryanabx
14edf044af
Add "untyped_declaration" warning
2023-09-11 09:39:10 -05:00
Rémi Verschelde
221884e6bc
Merge pull request #81534 from BastiaanOlij/fix_openxr_huawei_default_profile
...
OpenXR: Fix missing add profile for Huawei
2023-09-11 15:40:52 +02:00
Rémi Verschelde
2081b1d549
Merge pull request #81501 from Dragoncraft89/zipreader_signature
...
Use pass by reference in ZIPPacker & ZIPReader signatures
2023-09-11 15:39:41 +02:00
Rémi Verschelde
13f0ab88f2
Merge pull request #81079 from dalexeev/gds-fix-get-method-list
...
GDScript: Fix `get_*_list()` methods return incorrect info
2023-09-11 15:36:52 +02:00
Bastiaan Olij
b1548e8b19
OpenXR fix error spam if session hasn't started yet
2023-09-11 14:12:34 +10:00
Bastiaan Olij
c5e4f3eb74
OpenXR fix missing add profile for hauwei
2023-09-11 13:44:03 +10:00
Geoffroy Warin
5f3cbcb55d
fix some keys triggering their actions twice in GridMap
2023-09-11 03:04:25 +02:00
Florian Kothmeier
a41ae7d69c
Use pass by reference in ZIPPacker & ZIPReader signatures
2023-09-10 00:22:53 +02:00
Aaron Franke
6f7eccc758
Add a type conversion method to Variant Utility and expose to scripting
2023-09-08 10:12:48 -05:00
Rémi Verschelde
31a7fd1951
Merge pull request #81406 from bruvzg/ts_dict_chk2
...
[TextServer] Pass Dictionary properties by value and check property values instead of references.
2023-09-08 09:11:23 +02:00
Andrés Botero
ab52f70a03
Fix subpixel layouts in text rendering
2023-09-07 20:36:00 -05:00
Rémi Verschelde
cfd292939c
Haiku: Remove remnants of past WIP platform port
...
The Haiku platform port was never finalized, and moved to a separate repo in
Godot 3.2 days: https://github.com/godotengine/godot-platform-haiku
Sadly it didn't garner more interest there and is bitrotting. It was never
ported to Godot 4 so the bits of Haiku support left in Mono aren't useful.
2023-09-07 16:37:51 +02:00
Rémi Verschelde
08c578c54c
Merge pull request #81416 from akien-mga/uwp-ce-nest-qu-un-au-revoir
...
UWP: Remove platform port, needs to be redone from scratch for 4.x
2023-09-07 16:33:40 +02:00
Rémi Verschelde
0b9ffdfc02
Merge pull request #81414 from akien-mga/codestyle-get-back-in-das-Auto
...
Codestyle: Don't use auto where not warranted
2023-09-07 16:33:17 +02:00
Rémi Verschelde
0f38fdf9c3
Merge pull request #78032 from BastiaanOlij/expose_openxr_hand_tracking_data
...
Expose OpenXR raw hand tracking data
2023-09-07 16:31:42 +02:00
Rémi Verschelde
11518665b7
Codestyle: Don't use auto where not warranted
...
We allow using auto for lambdas or complex macros where a return type
may change based on the parameters. But where the type is clear, we
should be explicit.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-09-07 16:15:18 +02:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
...
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.
So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
Bastiaan Olij
58df9bd8a4
Expose OpenXR raw hand tracking data
2023-09-07 22:55:21 +10:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
...
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
Rémi Verschelde
632bbc66b6
Merge pull request #81361 from bruvzg/ntdir
...
[TextServer] Use locale or first span language to select preferred direction for neutral text.
2023-09-07 13:52:57 +02:00
bruvzg
1ced1f9c99
[TextServer] Pass Dictionary properties by value and check property values instead of references..
2023-09-07 11:59:51 +03:00
Yuri Sizov
d8ff69d53c
Extract ScriptInstance to simplify includes
...
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
356624ce6d
Merge pull request #80807 from aaronfranke/gltf-skin-mesh-comment
...
GLTF: Add a comment for skinned mesh tree placement
2023-09-06 14:49:06 +02:00
Yuri Sizov
3c63dce3cd
Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AM
...
Add EditorStringNames singleton
2023-09-06 14:49:02 +02:00
bruvzg
1cb63fc719
[TextServer] Use locale or first span language to select preferred direction for neutral text.
2023-09-06 08:50:08 +03:00
Aaron Franke
908716529d
GLTF: Add a comment for skinned mesh tree placement
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-09-05 12:19:31 -05:00
Yuri Sizov
d90918194f
Merge pull request #81295 from aaronfranke/fix-compile-no-3d
...
Fix compiling with 3D disabled due to unused navigation variable
2023-09-05 15:14:17 +02:00
Yuri Sizov
c9bf824124
Merge pull request #79166 from bruvzg/ts_dict_chk
...
[TextServer] Remove excessive Dictionary checks.
2023-09-05 15:14:14 +02:00
Danil Alexeev
242d3d81e9
GDScript: Don't make array literal typed in weak type context
2023-09-05 11:32:16 +03:00
Aaron Franke
93cf3391bd
Fix compiling with 3D disabled due to unused navigation variable
2023-09-04 03:16:55 -05:00
Rémi Verschelde
00e14f39fd
Merge pull request #81230 from SamiKalliomaki/array-dispose
...
Fix double unregistration on dispose of Array.
2023-09-04 09:08:35 +02:00
Rémi Verschelde
0215d53a10
Merge pull request #81229 from raulsntos/dotnet/arc-hyperbolic
...
C#: Expose `asinh`, `acosh` and `atanh` in Mathf
2023-09-04 09:08:12 +02:00
Rémi Verschelde
dd4fae6162
Merge pull request #74809 from Chaosus/completion_color_xyzw
...
Add coloring for completion of vector components
2023-09-04 09:06:57 +02:00
bruvzg
31a8a9b2e1
[TextServer] Remove excessive Dictionary checks.
2023-09-04 09:47:55 +03:00
Danil Alexeev
462d8f4752
GDScript: Fix `get_*_list()` methods return incorrect info
2023-09-04 00:21:03 +03:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +02:00
Sami Kalliomäki
43a6748dfd
Do not call Array default constructor when not necessary.
...
This fixes a bug where Array would get registered twice with the
DisposablesTracker causing an exception on shutdown.
Fixes #81231
2023-09-03 11:25:23 +01:00
Aaron Franke
5b7001dccf
GLTF: Improve logic for keeping track of the real root node
2023-09-03 03:35:29 -05:00
Aaron Franke
c1bc4fbd20
GLTF: Change "Camera3D" generated node name to "Camera"
2023-09-03 02:47:34 -05:00
Rémi Verschelde
d18963485e
Merge pull request #81106 from garychia/gridmap_visibility
...
GridMap: Ensure the visibility is updated when entering the tree
2023-09-02 14:29:48 +02:00
Rémi Verschelde
2e71e5516e
Merge pull request #80632 from Repiteo/C#-editor-docstring
...
C#: Dereference editor types in core documentation
2023-09-02 14:28:35 +02:00
Rémi Verschelde
7f3dbe81ed
Merge pull request #80270 from aaronfranke/gltf-scene-name-assignment
...
Fix doubly-reserved unique names in GLTF scene name assignment
2023-09-02 14:28:11 +02:00
Raul Santos
f90005072c
C#: Expose `asinh`, `acosh` and `atanh` in Mathf
2023-09-02 12:00:02 +02:00
Thaddeus Crews
cbf17b5ac1
C#: Dereference editor types in core documentation
2023-09-01 15:17:13 -05:00
Rémi Verschelde
07f6fa8ff9
Merge pull request #80629 from Repiteo/C#-CS0419
...
C#: Include argument types in generated methods
2023-09-01 16:01:24 +02:00
Rémi Verschelde
728dbeab69
vulkan: Update all components to Vulkan SDK 1.3.261.1
...
Updates to volk, vulkan headers, `vk_enum_string_helper.h`, VMA,
glslang, spirv-reflect.
VMA doesn't tag SDK releases specifically, and still hasn't had a tagged
release since 3.0.1, but the Vulkan SDK now seems to ship a recent master
commit, so we do the same.
2023-09-01 11:23:48 +02:00
Rémi Verschelde
549fcce5f8
Merge pull request #81175 from raulsntos/dotnet/project_settings_changed
...
C#: Replace usage of deprecated `project_settings_changed` signal
2023-08-31 08:56:55 +02:00
Rémi Verschelde
59f3ab0c0d
Merge pull request #81157 from azuloo/webrtcpeerconnection-typo-fix
...
Fix typo in WebRTCPeerConnection documentation
2023-08-31 08:56:27 +02:00
Rémi Verschelde
98f6844554
Merge pull request #81136 from Faless/mp/replication_mode
...
[MP] Improve SceneReplicationConfig editor UX + optimizations
2023-08-31 08:55:17 +02:00
Rémi Verschelde
1594acc64e
Merge pull request #81073 from raulsntos/dotnet/cached-string-names
...
C#: Replace `StringNameCache` with `SNAME`
2023-08-31 08:54:53 +02:00
Yuri Rubinsky
35802374ac
Add coloring for completion of vector components
2023-08-30 21:13:25 +03:00
Raul Santos
cde9dc6c3c
C#: Replace usage of deprecated `project_settings_changed` signal
...
Replace usage of `EditorPlugin::project_settings_changed` signal with `ProjectSettings::settings_changed`.
2023-08-30 19:45:41 +02:00
Fabio Alessandrelli
c1c6911b5c
[MP] Improve ReplicationEditor UX
...
Use an option button for the replication mode making sync and watch (now
"Always" and "On Change") mutually exclusive.
2023-08-30 15:37:42 +02:00
Fabio Alessandrelli
711e96edc4
[MP] Make replication mode an enum + optimizations
...
REPLICATION_MODE_ALWAYS (sync) and REPLICATION_MODE_ON_CHANGE (watch)
are now mutually exclusive.
Prevent invalid NodePath from being added to the config.
Optimize the replication config loading by composing the lists on
demand.
2023-08-30 15:00:39 +02:00
azuloo
7ab0582625
Fix typo in WebRTCPeerConnection documentation
2023-08-30 14:02:33 +03:00
Rémi Verschelde
a0d12cf93f
Merge pull request #65558 from the-sink/replication-editor
...
Allow enter key to add properties to replication editor list
2023-08-30 12:15:38 +02:00
Rémi Verschelde
3f7c1bccef
Merge pull request #81103 from bruvzg/svg_em
...
[TextServer] Fix SVG emoji placement.
2023-08-30 08:46:39 +02:00
Rémi Verschelde
34a4885579
Merge pull request #79570 from BastiaanOlij/new_pico_interactions
...
Change to new PICO interaction profiles
2023-08-30 08:45:04 +02:00
Rémi Verschelde
8edc0b43b9
Merge pull request #78634 from Sauermann/fix-notification-order
...
Fix `Object::notification` order
2023-08-30 08:44:36 +02:00
the-sink
8f80ebc035
Allow enter key to add properties to replication editor list
2023-08-29 19:29:01 -07:00
Bastiaan Olij
3a89bb388d
Change to new PICO interaction profiles
2023-08-30 10:25:35 +10:00
Markus Sauermann
c4705a590b
Fix Object::notification order
...
Previously the `p_reversed` parameter didn't influence the order
in a correct way.
Also script overridden _notification functions were not called in
the correct order.
To fix this some `notification` functions had to add a `p_reversed`
parameter.
This made it necessary to adjust cpp-bindings.
Co-authored-by: David Snopek <dsnopek@gmail.com>
2023-08-30 00:15:55 +02:00
BlueCube3310
cbbcaa31d5
Fix grayscale dds loading
2023-08-29 19:24:22 +02:00
clayjohn
0045dc204c
Revert "Implement loading DDS textures at run-time"
...
This reverts commit 34ab1c8a36
.
2023-08-29 14:25:16 +02:00
Rémi Verschelde
76d318dbd1
Merge pull request #75778 from KoBeWi/_vp
...
Expose `_validate_property()` for scripting
2023-08-29 12:41:27 +02:00
Rémi Verschelde
91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
...
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
Chia-Hsiang Cheng
3a3ebbf4c9
Ensure the visibility is updated when entering the tree
2023-08-29 15:11:57 +08:00
bruvzg
29bad2928a
[TS] Fix SVG emoji placement.
2023-08-29 08:46:15 +03:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
...
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Raul Santos
6d7d083254
C#: Replace `StringNameCache` with `SNAME`
2023-08-28 15:41:26 +02:00
kobewi
67db4693eb
Expose _validate_property() for scripting
2023-08-28 15:18:48 +02:00
Rémi Verschelde
fc37fd7b98
Merge pull request #81039 from MewPurPur/fix-hex-number-highlighting-after-separator
...
Fix highlighting of hex numbers with separators
2023-08-28 12:10:11 +02:00
Rémi Verschelde
75bc6866a4
Merge pull request #81037 from AThousandShips/openxr_register
...
Ensure OpenXR classes are declared properly
2023-08-28 12:09:47 +02:00
Rémi Verschelde
231daee7b4
Merge pull request #81033 from Faless/mp/fix_watch_prop_remove
...
[MP] Fix watch properties not being correctly removed
2023-08-28 12:09:01 +02:00
Rémi Verschelde
ea3c5f96e5
Merge pull request #80998 from MewPurPur/fix-my-little-oopsie-daisy
...
Move the new RegEx icons into their respective module
2023-08-28 12:06:16 +02:00
Rémi Verschelde
359bb38330
Merge pull request #80862 from BlueCube3310/dds-grayscale-load-fix
...
Make DDS loading code only check for R channel bitmask when loading grayscale images
2023-08-28 12:05:29 +02:00
A Thousand Ships
c23bd8b143
Ensure OpenXR classes are declared properly
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2023-08-28 09:37:04 +02:00
MewPurPur
d3946242f4
Fix highlighting of hex numbers with separators
2023-08-28 09:52:40 +03:00
Fabio Alessandrelli
3860f2e366
[MP] Fix watch properties not being correctly removed
2023-08-27 10:53:04 +02:00
Yuri Sizov
b6c4efe1b1
Merge pull request #80964 from dalexeev/gds-allow-use-local-consts-as-types
...
GDScript: Allow use local constants as types
2023-08-25 21:26:44 +02:00
MewPurPur
3f79c69d70
Move the new RegEx icons into their respective module
2023-08-25 18:08:45 +03:00
Danil Alexeev
68a567bd13
GDScript: Allow use local constants as types
2023-08-25 17:04:04 +03:00
Danil Alexeev
89429b0273
GDScript: Fix lambda resolution with cyclic references
2023-08-25 16:29:11 +03:00
Yuri Sizov
2c77f07aaa
Add a script method to get its class icon
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations.
2023-08-24 11:58:12 +03:00
BlueCube3310
1d51c559e7
Make DDS loading code only check for R channel mask when loading grayscale images.
2023-08-21 22:21:17 +02:00
Rémi Verschelde
e43370d0fa
Merge pull request #80686 from azuloo/lsp-thread-connection-error
...
Fixes LSP connection error when launched in a separate thread
2023-08-21 19:26:43 +02:00
Rémi Verschelde
ca00520525
Merge pull request #80669 from BlueCube3310/DDS-format-indexed-remove
...
Remove `DDS_INDEXED` from DDSFormat
2023-08-21 19:26:38 +02:00
Rémi Verschelde
7d3bee73e4
Merge pull request #80247 from dalexeev/gds-for-loop-var-static-typing
...
GDScript: Add static typing for `for` loop variable
2023-08-21 19:26:32 +02:00
Rémi Verschelde
90e96e055f
Merge pull request #80789 from akien-mga/scons-ktx-requires-basis
...
SCons: Make ktx module require basis_universal
2023-08-21 08:24:36 +02:00
Rémi Verschelde
4bba963f0a
Merge pull request #80782 from KoBeWi/MessLibrary
...
Cleanup MeshLibrary changed signals
2023-08-21 08:23:48 +02:00
Rémi Verschelde
a723a8d822
Merge pull request #80774 from geowarin/fix-grid-map-physical
...
Fix GridMap shortcuts that should not be physical
2023-08-21 08:22:56 +02:00
Rémi Verschelde
9becff0c54
Merge pull request #80745 from dalexeev/gds-improve-docgen
...
GDScript: Improve DocGen
2023-08-21 08:22:31 +02:00
Aaron Franke
da89753cc6
Fix doubly-reserved unique names in GLTF scene name assignment
2023-08-20 00:03:56 -05:00
Hugo Locurcio
469c462b76
Add missing tutorials to documentation classes
2023-08-19 20:29:24 +02:00
Danil Alexeev
34d432807f
GDScript: Improve DocGen
2023-08-19 19:54:43 +03:00
Rémi Verschelde
969a35ae2b
SCons: Make ktx module require basis_universal
...
Fixes #80786 .
2023-08-19 16:49:29 +02:00
Rémi Verschelde
5444afae63
Merge pull request #76572 from acazuc/ktx_format_support
...
Add support for KTX image format so that we can use Basis Universal for GLTF
2023-08-19 13:00:35 +02:00
kobewi
ecc3944b1e
Cleanup MeshLibrary changed signals
2023-08-19 11:56:31 +02:00
bruvzg
07d859de25
[TextServer] Fix issues with character breaks, add more tests.
2023-08-19 11:49:34 +03:00
acazuc
a00cf02241
Add support for KTX & KTX2 image format
...
Add support glTF KHR_texture_basisu extension
2023-08-19 10:27:29 +02:00
Geoffroy Warin
4789759035
Fix GridMap shortcuts that should not be physical
2023-08-19 02:49:41 +02:00
Rémi Verschelde
b51ee8b029
Merge pull request #80650 from bruvzg/comp_char_fix
...
[TextServer] Fix system font fallback and caret/selection behavior for composite characters.
2023-08-18 17:24:54 +02:00
Rémi Verschelde
a2a1ed1aac
Merge pull request #80576 from KurtBliss/master
...
Fixed editor filesystem/import properties not being caught by the doctool.
2023-08-18 15:43:58 +02:00
Rémi Verschelde
08d599d89b
Merge pull request #80463 from aaronfranke/gltf-center-of-mass
...
GLTF: Add center of mass property
2023-08-18 09:31:17 +02:00
Rémi Verschelde
8a02cd0883
Merge pull request #80419 from Faolan-Rad/fix-multi_actionsets
...
Properly load multiple action sets in XR
2023-08-18 09:30:52 +02:00
Rémi Verschelde
a017e9c698
Merge pull request #80119 from MewPurPur/svg-opacities-standardization
...
Optimize and fix up some SVGs
2023-08-18 09:30:23 +02:00
Danil Alexeev
6c59ed9485
GDScript: Add static typing for `for` loop variable
2023-08-17 20:54:34 +03:00
Rémi Verschelde
5282974c61
SCons: Fix ThorVG build option in TextServers with #80095
2023-08-17 13:40:19 +02:00
Rémi Verschelde
08690d6af5
Merge pull request #80095 from capnm/update_thorvg_0.10.0
...
Update ThorVG to v0.10.0
2023-08-17 12:29:06 +02:00
Rémi Verschelde
4332a798f9
Merge pull request #79922 from Auburn/cellular-jitter-fix
...
FastNoiseLite: Fix cellular jitter using incorrect default value
2023-08-17 12:28:41 +02:00
pidogs
f476b74ecf
Make CSGShape follow curve's tilt in Path mode
...
Fixes #65634 .
2023-08-17 12:01:29 +02:00
Rémi Verschelde
e71ec0b5eb
Merge pull request #80365 from dalexeev/gds-allow-mix-indent-on-blank-lines
...
GDScript: Allow mixed indentation on blank lines
2023-08-17 11:25:04 +02:00
Rémi Verschelde
37d213b24e
Merge pull request #79972 from smix8/navgenerator_multithreading_4.x
...
Add multi-threaded NavMesh baking to NavigationServer
2023-08-17 11:22:11 +02:00
Rémi Verschelde
1fda5ea324
Merge pull request #79529 from geowarin/gridmap_shortcuts
...
Make gridmap shortcuts editable and not conflict with other plugins
2023-08-17 11:21:22 +02:00
Rémi Verschelde
4f00f925b3
Merge pull request #78552 from dalexeev/gds-check-get-node-in-static-func
...
GDScript: Check `get_node()` shorthand in static functions
2023-08-17 11:20:32 +02:00
Danil Alexeev
00ad9e484e
GDScript: Allow mixed indentation on blank lines
2023-08-17 10:54:43 +03:00
Rémi Verschelde
c3fd8752d2
Merge pull request #80612 from akien-mga/scons-disable-exception-handling
...
SCons: Disable C++ exception handling
2023-08-16 16:56:07 +02:00
Rémi Verschelde
6203f56875
Merge pull request #78865 from MewPurPur/improve-docs-top-sections-VFX
...
Improve the top docs sections of VFX classes
2023-08-16 16:54:32 +02:00
azuloo
a5710d468b
Fixes LSP connection error when launched in a separate thread
2023-08-16 16:29:28 +03:00
A Thousand Ships
f7fa72c808
Add function `ZIPReader::file_exists`
2023-08-16 15:10:32 +02:00
Rémi Verschelde
3907e53ff6
SCons: Disable C++ exception handling
...
Upon investigating the extremely slow MSVC build times in #80513 , I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.
This is wasteful on multiple aspects:
- Binary size: Around 20% binary size reduction with exceptions disabled
for both MSVC and GCC binaries.
- Compile time:
* More than 50% build time reduction with MSVC.
* 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.
Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:23:34 +02:00
Rémi Verschelde
3d1e135bc7
Merge pull request #80656 from konczg/fix_extension_wrapper_extension_casts
...
Fix casts of XR handles in OpenXRExtensionWrapperExtension
2023-08-16 09:17:48 +02:00
Rémi Verschelde
f8aa7caf1d
Merge pull request #80642 from dsnopek/text_server_adv_gdextension-2
...
Use `String::resize()` and `CharString` in `text_server_adv` again
2023-08-16 09:16:38 +02:00
Rémi Verschelde
1d852cb75e
Merge pull request #80631 from Repiteo/C#-delegate-docstring
...
C#: Fixed delegate docstring logic
2023-08-16 09:15:50 +02:00
Rémi Verschelde
db1a5dc41a
Merge pull request #80630 from Repiteo/C#-paramref
...
C#: paramref now properly tagged in documentation
2023-08-16 09:15:27 +02:00
Rémi Verschelde
8c3d79ac65
Merge pull request #80628 from Repiteo/C#-CS1574
...
C#: Implement `proxy_name` for EnumInterface
2023-08-16 09:15:04 +02:00
Rémi Verschelde
b44867b947
Merge pull request #77975 from sakrel/shader_debug_info
...
Add support for GLSL source-level debugging with RenderDoc
2023-08-16 09:11:23 +02:00
BlueCube3310
e92b5b405f
Remove DDS_Indexed from DDSFormat enum
2023-08-15 21:34:00 +02:00