summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-12Fix infinite loop in Build2DFaces::_find_edge_intersectionsJustin Wash
(cherry picked from commit 1ac2c537da86bd9a9234954dd4ba67e32c1b0d3a)
2023-05-12 Fix CSG edge case causing intersection line to hit on common edge of 2 ↵K. S. Ernest (iFire) Lee
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 eaa84bc682dfb7f1f97970c7f4dfd4c6e63ba681)
2023-05-12Fix another collision shape editor crashkobewi
(cherry picked from commit 01c32dffafddd52e65b8413034b2f5283523da92)
2023-04-28Fix CollisionShape2D editor crashkobewi
(cherry picked from commit e5d0bb1605e93041c7329374cccdf8290e1574e2)
2023-04-27Update changelog for 4.0.3Rémi Verschelde
2023-04-27GDScript: Don't fail when freed object is returnGeorge Marques
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 abbdf806435aad401f2a7b6ce09838c8e4d5cbcb)
2023-04-27GDScript: Fix wrong increment for disassembly of lambdaGeorge Marques
(cherry picked from commit 5b49382d38f1cebd7defc2b12c65b86285346699)
2023-04-27Fix unsupported sampler filter used for voxel GIPedro J. Estébanez
(cherry picked from commit 09aa1bbdb3c9dc4891a192854636a4e33ccd46bc)
2023-04-27Fix breakages of volumetric fog on voxel GI changesPedro J. Estébanez
(cherry picked from commit 2beed0d5dcbfe6a69bc9d5a3a17c4977f10c9a7a)
2023-04-27Improve reliability of 2D shape editor redrawingkobewi
(cherry picked from commit d8e39912f8b3e52c4003791b5ea2433cf711ae34)
2023-04-27Fix Shader Preprocessor line numbering when disabledbitsawer
(cherry picked from commit 34896d8e89022935cde02b07f2b22e5a2dff5b4f)
2023-04-27GDScript: Use default path in test generator if not providedGeorge Marques
Since it's almost always used with the same path, assume it is running from the Godot source root. (cherry picked from commit 221deb1cc130d176c499ebc67db83e7018eafd55)
2023-04-27Updated GDScript example to use clear_surfaces() and C Sharp example to use ↵Devin
ClearSurfaces() instead of non-existent surface_remove() and SurfaceRemove() (cherry picked from commit 3b615ed789e71da686a2d61e2eaae7c86d7dff48)
2023-04-26Merge pull request #76476 from YuriSizov/4.0-cherrypicksRémi Verschelde
Cherry-picks for the 4.0 branch (future 4.0.3) - 3rd batch
2023-04-26Update the changelog for 4.0.3Yuri Sizov
2023-04-26Provide an example on how to use ImmediateMeshVolTer
(cherry picked from commit 4eabad6c265c0c068b5ab2c26e911ac99cd03c3b)
2023-04-26Err when trying to build the editor without its required modulesYuri Sizov
(cherry picked from commit a14519426871341890b4257a64914b2761f8b055)
2023-04-26Document automatic center mode using shape originsWinston
(cherry picked from commit 7b30d7da51e40a69b464e501dbc02fcaa99deb5b)
2023-04-26Add information about how `Engine.time_scale` affects TimersNinni Pipping
(cherry picked from commit 16a1465380df708edebffc53c77011cd771f6b91)
2023-04-26Fix issue with resizing the display on Android when using the compatibility ↵Fredia Huya-Kouadio
renderer. (cherry picked from commit b438b4a490f81e06c4d850ddd19884b554307018)
2023-04-26Fix crash caused by invalid mix_rate assignment due to bogusEoin O'Neill
project settings. We'll default to a sensible value in the case that a user has somehow managed to modify the configuration file incorrectly. Closes 69819 (cherry picked from commit 5a08091168782a924cd3a23baf31c5cd4cd63906)
2023-04-26Fix the uid field of the tscn/res file is lost when the external dependency ↵Rindbee
is updated (cherry picked from commit 41ac40c44c058b5f9aa0d033787b2acb8e8020ea)
2023-04-26ios splash screen rotation fixRoman Vasilyev
(cherry picked from commit 8fcca194a16279ac5c22f702e544733056801b2a)
2023-04-26Document why Gradient.reverse() doesn't reverse constant gradientsVolTer
(cherry picked from commit f21d13600e41817646789a2b45221d8f5c2b2564)
2023-04-26Fix wrong file on function call errorsodaJar
(cherry picked from commit 464a299d2ef352f7b62fde08ec51b7ad824f4948)
2023-04-26Fix inconsistent file dialog settings usageHaoyu Qiu
* Project Manager ignores display mode settings. * EditorFileDialog's default display mode and show hidden files settings are not updated when corresponding editor settings change. (cherry picked from commit 2ccc9e14563977ae9707d6511727f5d6a20b0f9b)
2023-04-26Fix issues with Vulkan layout transitionsPedro J. Estébanez
(cherry picked from commit 882b8692204e8db465670dbb3150a848197ad576)
2023-04-26Create an "Editor-only" section in the online class referenceYuri Sizov
This helps to find such classes without digging through the rest of the class reference. Editor-only classes can still be found under your normal "Node" and "Resource" types. This also fixes a typo and a missed case from the recent platform docs PR. (cherry picked from commit 3ae282b452c1b35015cf327b376ef635b08393b5)
2023-04-26Fix `line_spacing` in code editor will not take effect immediately on changeRindbee
Previously, in CodeTextEditor, `line_spacing` was forgotten to update when the editor setting property changed. (cherry picked from commit 23d6225c1e59f33cc6cfe0df3a00961c0c93155f)
2023-04-26Add missing PhysicalBone2D iconVolTer
(cherry picked from commit 048f94f6629d5672fa9ae3b8702c22d3f07c027c)
2023-04-26Fix GDScript LSP variable renameAdam Scott
(cherry picked from commit 10fe6f14bba67950bde486051f1fd5e06c7f6dcd)
2023-04-26Fix editor spin slider remaining editable if set read_only during an edit ↵Samuele Panzeri
and fix related animation player crash (cherry picked from commit b6abb347595faa7bad57afff1f10e8c7b8528e5d)
2023-04-26Fix TouchScreenButton not redrawn when texture changesHaoyu Qiu
(cherry picked from commit a15126915d028a4487e6e9fb4b901b73f5cec3f1)
2023-04-26Fix layout list not resizing in editor layout dialogHaoyu Qiu
(cherry picked from commit dfc628bc548a571f1dcf6d1969b7b9c553f738e1)
2023-04-26Make tab's close button responsive to touch tapsFredia Huya-Kouadio
(cherry picked from commit 7325ffdd464c4efe6b7c118c0e6dae2b0ae501fa)
2023-04-26Make `EditorPropertyLayersGrid` responsive to touch tapsFredia Huya-Kouadio
(cherry picked from commit aa7a4d56f029fb5e3a3f2f4b569047bc546bf134)
2023-04-26Downgrade android gradle plugin to version 7.2.1.Fredia Huya-Kouadio
Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up. (cherry picked from commit 4507d3a38c4820fb456532d3a0715139f12985e4)
2023-04-26Fix invalid global position when read outside treekobewi
(cherry picked from commit 727a4ed79a371d87be06a8101c9eedd48ecc3e01)
2023-04-26Validate renderer selection in project manager and change default renderer ↵clayjohn
editor setting to expose an enum to users (cherry picked from commit 48ebae7812c7dda1bbe39e419e75ba9c0c32eea7)
2023-04-26Document custom mouse cursors larger than 128×128 potentially having issuesHugo Locurcio
(cherry picked from commit 92730fb07dbeb7e3640d0bed60c9b9033bc30577)
2023-04-26Fix lerp error messagePaweł
(cherry picked from commit 899da2200215b3863067719463915c968c5a3a21)
2023-04-26Fix for mixed tabs and spaces in gdscriptMistMage
(cherry picked from commit fecbc12d17add3fd3e3ac624bfefa7fbc0b44a73)
2023-04-26CI: Fix checks fallback logic when changed files listing is missingRémi Verschelde
The file would be one byte (newline) so the check with '-s' failed. (cherry picked from commit 39d24ee80bf53a742cc37ec9b8ffce7570cfdbfe)
2023-04-26CI: Fixup failure to get changed files on mergeRémi Verschelde
The checkout might be too shallow so the before commit isn't available. The logic was already written to take this into account (it then generates an empty 'changed.txt' which falls back to testing everything), but the error code would still force terminate the job. Hopefully we can find a way to make the logic work for merge events too in the future, but for now this is a quick fix. (cherry picked from commit 9063e907a7db07d0d59f3f649b27d39eae56b94b)
2023-04-26CI: Speed up static checks by checking only changed filesRémi Verschelde
- file_format, header_guards and clang-format benefit from this short list. - dotnet-format, Python and JS checks don't, but they're only relevant for PRs changing a specific set of files, so we skip them when those files aren't modified. The logic to get changed files only works reliably for: - Pull request events - Non-force pushed push events So when force pushing a branch in your fork, or creating a new branch, it will still scan all files as fallback. Upgraded CI runner to Ubuntu 22.04 so we get clang-format 14 out of the box, so we don't need to install a custom version (saves ~15 s). We also cache the APT dependencies to speed up the build and avoid flaky Ubuntu/Microsoft repos. (cherry picked from commit 068f89307245d062bf2bf995de3726e33faef5d8)
2023-04-26Fix expected argument count in Callable call error textkleonc
(cherry picked from commit 7a871212edd7c146331338638f5c9cf4fe7d3fdc)
2023-04-26mbedtls: Update to upstream version 2.28.3Rémi Verschelde
Rediff patch from PR 1453, lstrlenW is no longer used upstream so that part of the patch was dropped. (cherry picked from commit 1fde2092d0b6e840f026abaf438c4e591138125a)
2023-04-26Fix editor lock on sdf collision bake on errorSamuele Panzeri
(cherry picked from commit a2be742f97cb9f027082483dc56ec0822b23aceb)
2023-04-26[Windows] Cleanup COM library initialization/uninitialization.bruvzg
(cherry picked from commit 83dc545ea2599458fab4f4aaf46ab61d8ca98fbd)
2023-04-26Remove wrong Ctrl from 2D editor tooltipkobewi
(cherry picked from commit 75f2d7f5c459fba21bde2ae05ffd3bc66540e83d)