Commit Graph

8576 Commits

Author SHA1 Message Date
kleonc a5572ba5a3 C# Truncate instead of round in Vector2/3/4 to Vector2I/3I/4I conversion
(cherry picked from commit f53d3382af)
2023-04-07 17:44:36 +02:00
Rémi Verschelde 4762303f18
Bump version to 4.0.3-rc 2023-04-04 10:50:01 +02:00
Araraura d0e906327d Fix typo and slightly reword in @GDScript.xml
Fix "the every following property" to "then every following property" and change "is added" to "will be added".

(cherry picked from commit e1c0df7048)
2023-04-03 18:41:54 +02:00
smix8 e243dfa9f6
Fix NavigationAgent enable avoidance crash
Fixes NavigationAgent enable avoidance crash.

(cherry picked from commit 184427196f)
2023-04-02 17:37:12 +02:00
Rémi Verschelde c9ee508089
Bump version to 4.0.2-rc 2023-03-30 21:41:11 +02:00
Chris Hutchinson 4323c8b78b Replaced operating system alert dialog with a warning log message,
toggled by a project setting.
Fixes #73141

(cherry picked from commit cb8e919243)
2023-03-30 19:28:57 +02:00
Redwarx008 493e39860d C#: Fix Array.AddRange index out of bounds
Fix Array.AddRange index out of bounds

(cherry picked from commit eb1fb254a6)
2023-03-30 19:21:14 +02:00
Mai Lavelle 9f20659c62 Fixups to list handling in SceneReplicationConfig
Wrong paths were being inserted leading to duplicates / missed properties.

(cherry picked from commit 74edbdd4bc)
2023-03-30 19:20:01 +02:00
Bastiaan Olij b39cbe71b4 Fix typo in OpenXR pose orientation check
(cherry picked from commit cdd9de28a8)
2023-03-30 19:17:55 +02:00
Danil Alexeev 07beae98f0 GDScript: Fix false positive `REDUNDANT_AWAIT` warning
(cherry picked from commit c0eeb32e38)
2023-03-30 19:17:15 +02:00
Ninni Pipping 38595b8470 Fix "hides member" warnings in `csharp_script.cpp`
(cherry picked from commit ff5d8c4a42)
2023-03-27 17:56:20 +02:00
RedworkDE adc7edd907 C#: Do not print errors about missing references to intentionally ignored members
(cherry picked from commit 42cf684837)
2023-03-27 17:55:32 +02:00
Hugo Locurcio 9559bbcb18 Improve Color8 documentation
This documents in which situations Color8 is most suited and its
precision limitations.

(cherry picked from commit 4e4555bea5)
2023-03-27 17:35:47 +02:00
smix8 ac1b26c7c5 Fix agents with disabled avoidance getting added to avoidance simulation
Fixes that agents with disabled avoidance were getting added to avoidance simulation.

(cherry picked from commit 64ce93cee9)
2023-03-27 17:30:03 +02:00
Bastiaan Olij f089782411 XR: When an sRGB target is used, check hardware sRGB conversion
(cherry picked from commit a1a52c5ba1)
2023-03-27 17:29:30 +02:00
smix8 dd94380b11 Fix GridMap signal "cell_size_changed" disconnect error
Fixes GridMap signal "cell_size_changed" disconnect error.

(cherry picked from commit d8bad3eef5)
2023-03-27 17:28:19 +02:00
smix8 22b5f0f608 Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.

(cherry picked from commit cc02007e30)
2023-03-27 17:27:27 +02:00
Zac Luzader fcedf5dfdf OpenXR: Enable access to the Valve Index grip force sensing
(cherry picked from commit d3b26b3261)
2023-03-27 17:22:32 +02:00
RedworkDE bb5a6e29ab C#: Fix building projects for MSBuild before 17.3
(cherry picked from commit 6019f497b8)
2023-03-27 17:01:56 +02:00
Raul Santos c4618bcc1b C#: Encode GodotProjectDir as Base64 to prevent issues with special characters
(cherry picked from commit f949e94991)
2023-03-27 17:01:32 +02:00
VolTer 2e37c05fe6 Make GDScript number highlighting stricter
(cherry picked from commit 952703d921)
2023-03-27 16:58:50 +02:00
bruvzg 559d09c140 [TextServer] Add mutex for FreeType face creation/deletion operations.
(cherry picked from commit c950a1ab94)
2023-03-27 16:52:57 +02:00
bruvzg 24c4b5e8ad [macOS] Re-add support for the _sc_ inside app bundle. Update docs.
(cherry picked from commit 174e0837e0)
2023-03-27 16:34:57 +02:00
Haoyu Qiu c6a704af2c Fix typos and inconsistencies in classref
(cherry picked from commit 57d4272984)
2023-03-16 16:43:31 +01:00
Dmitrii Maganov 23f2c1234c GDScript: Fix autocomplete inside a block with a type test condition
(cherry picked from commit e289a4ab2c)
2023-03-14 13:59:04 +01:00
VolTer 5ae484c138 Fix error spam when naming a func at the end of the script
(cherry picked from commit 07dd627728)
2023-03-14 13:59:03 +01:00
Rémi Verschelde 7e74568709 FBX: Disable importer when canceling FBX2glTF setup
Pretty hacky solution but it's better than an infinite loop.

All this import setup needs to be redone, it's very difficult to properly
bail out from an invalid import without triggering reimport loops.

Also fix underline not visible at default editor scale in LinkButton.

Fixes #73319.

(cherry picked from commit d81e6ee024)
2023-03-14 13:59:02 +01:00
juliuse98 e3e117cac5 Fix blend-file import when using custom color management in blender
When using custom color management in blender the --version command will
output additional information infront of the "normal" output and this
prevented the import.

Fixes #74439.

(cherry picked from commit 7a0d12182e)
2023-03-13 22:19:36 +01:00
bruvzg 494449f212 [TextServer] Fix justification on punctuation characters.
(cherry picked from commit 016b2f3555)
2023-03-13 22:18:04 +01:00
smix8 069c48bfdc Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.

(cherry picked from commit 73dc680fc1)
2023-03-13 22:12:27 +01:00
Hakim 90dbf3bd38 Get the unlit / unshaded extension when importing GLTF and set it when exporting
(cherry picked from commit e14fa5532b)
2023-03-13 22:05:07 +01:00
RedworkDE 20eeb7c66d C#: Get singleton instances using the Core name
(cherry picked from commit 16a2a164fe)
2023-03-13 21:56:31 +01:00
Raul Santos ad6fa1cd25 C#: Ignore explicit interface implementations
(cherry picked from commit 0372bd56b6)
2023-03-13 21:55:11 +01:00
Dmitrii Maganov 079c8ea719 GDScript: Fix checking if a call is awaited in compiler
(cherry picked from commit 55a2ad25bf)
2023-03-13 21:54:05 +01:00
Aleks Rutins 782e1fe84e Validate that C# class names are valid identifiers
(cherry picked from commit ae8752a731)
2023-03-13 21:52:44 +01:00
Raul Santos 1640b1a150 C#: Always show "Create C# solution" option
Prevents ending up with an empty C# menu.
The option to create the C# solution no longer disappears, to avoid confusing users.
If an user tries to use it when a C# solution already exists they are warned that it will override their sln and csproj files.

(cherry picked from commit a1a2fc2255)
2023-03-13 14:50:57 +01:00
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