Commit Graph

8598 Commits

Author SHA1 Message Date
Bastiaan Olij 3a90fa677b
Fix incorrect HTC action map entries
(cherry picked from commit e15358dc67)
2023-05-12 12:07:02 +02:00
UltraBIF 4b63ce83d2
Fixed various typos across the docs
(cherry picked from commit 8106d33d0f)
2023-05-12 12:07:02 +02:00
clayjohn 9d257f10c0
Use DXT1 when compressing PNGs with RGB format
This results in much smaller file sizes with the same quality

(cherry picked from commit f84c6df8d1)
2023-05-12 12:07:00 +02:00
Justin Wash 268b60ddd6
Fix infinite loop in Build2DFaces::_find_edge_intersections
(cherry picked from commit 1ac2c537da)
2023-05-12 12:06:59 +02:00
K. S. Ernest (iFire) Lee 0c312c7a08
Fix CSG edge case causing intersection line to hit on common edge of 2 triangles.
The previous implementation assumed that the intersection entered or exited a
shape when it hit right on the common edge of 2 triangles. However, there is
also a case where it just "skirts" the other shape on the outside.

To fix this, we added code to check the intersection distance and if the
normals of the faces are pointed in the same direction as the intersection or
not (e.g. inner product > 0). This handles the case where the intersection
line hits the common edge of 2 triangles and skirts the other shape on the
outside.

Extended code to cover a third case.

Fixes #58637.

Co-authored-by: OldBelge <StevenGeens@users.noreply.github.com>
(cherry picked from commit eaa84bc682)
2023-05-12 12:06:59 +02:00
George Marques 21bb5b9c0e
GDScript: Don't fail when freed object is return
This is check is a bit too eager. The user should be able to handle the
return value even if it's a freed object.

(cherry picked from commit abbdf80643)
2023-04-27 08:49:29 +02:00
George Marques aff0340486
GDScript: Fix wrong increment for disassembly of lambda
(cherry picked from commit 5b49382d38)
2023-04-27 08:49:29 +02:00
George Marques ee9a268fd7
GDScript: Use default path in test generator if not provided
Since it's almost always used with the same path, assume it is running
from the Godot source root.

(cherry picked from commit 221deb1cc1)
2023-04-27 08:41:36 +02:00
sodaJar 0132c29953 Fix wrong file on function call error
(cherry picked from commit 464a299d2e)
2023-04-26 14:50:59 +02:00
Adam Scott e03ee06d74 Fix GDScript LSP variable rename
(cherry picked from commit 10fe6f14bb)
2023-04-26 14:32:22 +02:00
MistMage 4d38529284 Fix for mixed tabs and spaces in gdscript
(cherry picked from commit fecbc12d17)
2023-04-26 14:29:27 +02:00
smix8 f1505fe98b Fix NavigationMesh baking for HeightMapShape
Fixes NavigationMesh baking for HeightMapShape.

(cherry picked from commit 71c453a426)
2023-04-26 14:14:06 +02:00
HolonProduction 769daf79e2 Fix multi-line string highlighting with single quotes.
(cherry picked from commit bdb7045e2c)
2023-04-26 14:14:05 +02:00
Adam Scott e6478f5be3 Fix typo when parsing LSP function parameters
(cherry picked from commit 879791e305)
2023-04-24 17:08:56 +02:00
bruvzg 9c1ea28092 Improve line BiDi handling, prevent crash on recursive log updates.
(cherry picked from commit 282e4231c2)
2023-04-24 17:03:55 +02:00
bruvzg 3a1af9393f [TextServer] Improve BiDi error handling.
(cherry picked from commit d8d88e1530)
2023-04-24 17:03:54 +02:00
Danil Alexeev d31002cfbe GDScript: Add missing member type check when resolving `extends`
(cherry picked from commit 66279b98b6)
2023-04-24 17:00:35 +02:00
Martin Capitanio 2992a99629 Fix blend_shape (shapekey) empty name import.
Corresponds to the Blender glTF-Importer PR
https://github.com/KhronosGroup/glTF-Blender-IO/pull/1902

(cherry picked from commit 8b6fa79eee)
2023-04-24 16:28:29 +02:00
bruvzg e071fb2263 [TextServer] Use dedicated flag for object replacement characters.
(cherry picked from commit d904516e55)
2023-04-24 16:28:28 +02:00
Ricardo Subtil b5ff677381 Poll LSP/DAP clients for connection status updates
(cherry picked from commit 4be4eeea3a)
2023-04-24 14:16:37 +02:00
bruvzg 05fa6e314a [SVG Font] Keep a copy of UTF-8 XML source string during the whole SVG processing.
(cherry picked from commit 19179238fa)
2023-04-07 17:44:39 +02:00
Martin Capitanio 233bd4abaa SVG: fix tvg::Picture->size() and scale based errors.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit bfc498f3d0)
2023-04-07 17:44:39 +02:00
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