Danil Alexeev
f4ea9df0f4
Fix GDScript code style regarding colon
...
(cherry picked from commit ea5fd3d732
)
2023-03-13 14:42:27 +01:00
Aaron Franke
9e6f0ee9c7
Document GLTFNode and some of GLTFState
...
(cherry picked from commit 2cc22fb964
)
2023-03-13 14:40:30 +01:00
Haoyu Qiu
80cde341d4
Fix various typos in the classref
...
(cherry picked from commit 03fcac3aa5
)
2023-03-13 14:27:06 +01:00
RedworkDE
0112862e70
C#: Fix crash when errors occur before language initialization.
...
(cherry picked from commit c0ebc28136
)
2023-03-13 14:21:06 +01:00
Yuri Sizov
3c2e952889
Prevent crashing on startup if project has scripted theme types
...
Also avoid order of operation conflicts by moving C# binding generation hook to main.cpp
(cherry picked from commit 8402927d3f
)
2023-03-13 14:18:32 +01:00
bruvzg
d83245f2f9
[TextServer] Add invalid font scaling check, restrict Linux/BSD system fonts lookup to TrueType/CFF only.
...
(cherry picked from commit 8d501a2dc3
)
2023-03-13 14:17:42 +01:00
Yuri Sizov
048c252602
Prevent cache corruption when saving resources in the editor
...
(cherry picked from commit 496bd94c21
)
2023-03-13 14:16:13 +01:00
bruvzg
466d226a4a
[TextServer] Ensure ICU data is initialised only one and cleaned only at exit.
...
(cherry picked from commit 7f24433e15
)
2023-03-13 14:04:41 +01:00
Abdulrahman Al Zeidi
e290448fe3
Fix glTF mesh importer not freeing nodes correctly on import
...
(cherry picked from commit 5e0641ea9a
)
2023-03-13 14:00:38 +01:00
Rémi Verschelde
284a1b6a6e
Bump version to 4.0.1-rc
2023-03-01 14:09:30 +01:00
Rémi Verschelde
491ded1898
Minor typo and docs URL fixes
2023-02-28 13:38:01 +01:00
Rémi Verschelde
ec8475af5e
Merge pull request #74028 from voidedWarranties/scriptlanguage_unused
...
Remove unused `ScriptLanguage` methods
2023-02-27 08:31:01 +01:00
Rémi Verschelde
745e994fc0
Merge pull request #74010 from lyuma/fix_last_basis_lod
...
Loop over the last mipmap lod in basis universal
2023-02-27 08:25:01 +01:00
voidedWarranties
bd5ab9f9b4
Remove unused `ScriptLanguage` methods
2023-02-26 22:30:56 -08:00
Lyuma
0addf38047
basisu: Loop over the last mipmap lod
2023-02-26 16:01:54 -08:00
Aaron Franke
9a031806bd
GLTF: Delete unused skeleton_to_node
2023-02-26 15:16:31 -06:00
Rémi Verschelde
35557e4410
Merge pull request #73990 from bruvzg/ts_dext_fix
...
Fix text server GDExtension build.
2023-02-26 21:38:00 +01:00
Rémi Verschelde
30884ee3cc
Merge pull request #73948 from V-Sekai/mip-map-basisu
...
Fix basisu texture mipmaps
2023-02-26 20:26:01 +01:00
Rémi Verschelde
c0f1ed57c4
Merge pull request #73915 from vonagam/fix-conversions-from-native-member
...
GDScript: Fix conversions from native members accessed by identifier
2023-02-26 19:02:27 +01:00
bruvzg
bbc77b6d29
Fix text server GDExtension build.
2023-02-26 18:38:22 +02:00
Rémi Verschelde
1bd0b296e1
Merge pull request #73964 from vonagam/fix-coroutine-compiler-type
...
GDScript: Fix address type for coroutine results
2023-02-26 16:00:17 +01:00
Rémi Verschelde
92d47f84fe
Merge pull request #73957 from vonagam/fix-binary-op-safety
...
GDScript: Fix wrong unsafety mark for binary operator
2023-02-26 15:59:54 +01:00
Rémi Verschelde
c118790eb9
Merge pull request #73899 from vnen/gdscript-init-defaults-beforehand
...
GDScript: Initialize all defaults beforehand in implicit constructor
2023-02-26 15:59:27 +01:00
Davi
4a7c93708e
Patch `VideoStreamPlaybackTheora::set_file` to only look for header packets of one stream type
2023-02-26 09:20:49 -03:00
Dmitrii Maganov
4efaf15605
GDScript: Fix address type for coroutine results
2023-02-26 08:30:46 +02:00
Dmitrii Maganov
638aa4f811
GDScript: Fix wrong unsafety mark for binary operator
2023-02-26 01:35:53 +02:00
K. S. Ernest (iFire) Lee
add503e71d
Fix basisu mipmaps
...
Previously basisu was storing mip maps as an array of basisu in the internal format for Texture. The new work makes sense and it generates smaller files with one image.
This pull request fixes the basisu decompression and keep the approach of 1 image. If we need to change the format in 4.x, we can still support the old format with some limitations too. Basisu from gltfpack can only output with mipmaps.
The single image will not work for StreamedTexture. We should support both approaches for CompressedTexture we use one, and for StreamedTexture we use another.
Additional error checking for hdr images and for nullptr.
2023-02-25 13:48:51 -08:00
George Marques
eba984a44f
Revert "GDScript: Fix groups and categories been seen as members"
...
This reverts commit 6f2a8434c6
.
The commit introduces a bug where it creates spurious entries for member
information.
2023-02-25 13:40:31 -03:00
Dmitrii Maganov
281c8c75d3
GDScript: Fix conversions from native members accessed by identifier
2023-02-25 10:53:36 +02:00
George Marques
0e6aa6fc38
GDScript: Initialize all defaults beforehand in implicit constructor
...
Set all the default values for typed variables before actually trying to
initialize them, including `@onready` ones.
This ensures that if validated calls are being used there will be a
value of the correct type, even if the resolution is done out of order
or deferred because of `@onready`.
2023-02-24 22:01:06 -03:00
Rémi Verschelde
3863199ab9
Merge pull request #73881 from vnen/max-min-only-for-numbers
...
Make max() and min() global functions only accept numbers
2023-02-25 01:36:19 +01:00
George Marques
defa46bfd1
GDScript: Don't use validated call for vararg methods
...
Since they may have runtime type validation, we cannot use the validated
call.
2023-02-24 14:06:02 -03:00
Raul Santos
3730d8e343
C#: Check if a class is a singleton using the Core name
...
Use the name of the class in Core, rather than the C# rename, when checking if a class is registered as a singleton.
2023-02-24 18:02:31 +01:00
Rémi Verschelde
a6baebc7c2
Fixup GDScript test using non-deterministic ids
...
Follow-up to #73870 .
2023-02-24 14:31:36 +01:00
Rémi Verschelde
7e00cc1f7a
Merge pull request #73870 from vnen/gdscript-dont-reference-group-properties
...
GDScript: Fix groups and categories been seen as members
2023-02-24 14:08:20 +01:00
George Marques
6f2a8434c6
GDScript: Fix groups and categories been seen as members
2023-02-24 10:03:12 -03:00
Rémi Verschelde
49e5e0ed79
Merge pull request #73841 from vonagam/fix-range-regression
...
GDScript: Fix range regression
2023-02-24 13:29:49 +01:00
Dmitrii Maganov
55c5774be9
GDScript: Fix range regression
2023-02-24 00:35:11 +02:00
smix8
624426f32e
Fix GridMap 'cell_size_changed' signal not disconnecting properly
...
Fixes that a GridMap node would not disconnect from the 'cell_size_changed' signal when the new selected node is another valid GridMap.
2023-02-23 21:17:37 +01:00
Rémi Verschelde
e0de3573f3
Merge pull request #73815 from RedworkDE/net-missing-editor-message
...
C#: Fix editor crashing without a message when .NET is not installed
2023-02-23 13:56:06 +01:00
Rémi Verschelde
09c8957f9d
Merge pull request #73811 from Vsono/master
...
Fix WebSocketMultiplayerPeer server crash when a client tries to connect.
2023-02-23 13:55:20 +01:00
Rémi Verschelde
76d80c2cba
Merge pull request #73798 from vonagam/fix-bad-continue-in-lambda
...
GDScript: Fix parsing unexpected break/continue in lambda
2023-02-23 13:54:56 +01:00
Rémi Verschelde
486b0b690d
Merge pull request #73796 from vonagam/fix-enum-in-range-call
...
GDScript: Fix usage of enum value as range argument
2023-02-23 13:54:33 +01:00
RedworkDE
6b050a3502
C#: Fix editor crashing without a message when .NET is not installed
2023-02-23 13:52:45 +01:00
Vsono
5cb60dff96
Fix WebSocketMultiplayerPeer server crash
2023-02-23 20:00:00 +09:00
Fabio Alessandrelli
72f5bbde82
[MP] Fix replication config not updating sync/spawn props from code.
2023-02-23 10:03:19 +01:00
Dmitrii Maganov
b0b1eaeb6d
GDScript: Fix parsing unexpected break/continue in lambda
2023-02-23 10:49:06 +02:00
Dmitrii Maganov
7ee011051a
GDScript: Fix usage of enum value as range argument
2023-02-23 10:38:53 +02:00
Rémi Verschelde
19c9fd6926
Merge pull request #73715 from clayjohn/HDR-import
...
Use multiple threads to import HDR images
2023-02-22 22:47:49 +01:00
clayjohn
2cf5927920
Use multiple threads to import HDR images
2023-02-22 09:35:15 -08:00