Commit Graph

33952 Commits

Author SHA1 Message Date
sps1112 ede6ce9847 Bind vararg method flag in core constants
(cherry picked from commit 1f361b0367)
2022-06-09 10:55:17 +02:00
Johannes Witt 2570df7fd8 Fix `EditorSpinSlider` mouse reset position on tree exit
(cherry picked from commit 784b1adb18)
2022-06-09 10:55:17 +02:00
smix8 e629622598 Remove slash delimiter from NavigationMesh properties
Remove slash delimiter from NavigationMesh properties.

(cherry picked from commit 2c059dcfcb)
2022-06-09 10:31:57 +02:00
smix8 e5c9f90bce Document the correct use of NavigationAgent path functions
Document the correct use of NavigationAgent path functions.

(cherry picked from commit 9c7f03aefc)
2022-06-09 10:31:57 +02:00
smix8 c111d6b621 Expose get_mesh() for NavigationPolygon Resources
Expose get_mesh() for NavigationPolygon Resources.

(cherry picked from commit 8bcce0ebb2)
2022-06-09 10:09:46 +02:00
smix8 106bf9b793 Add NavigationMesh debug when navmesh is added later through scripts
Add NavigationMesh debug when navmesh is added later through scripts

(cherry picked from commit b6eff47bac)
2022-06-09 10:08:55 +02:00
smix8 5e31c3dbb5 Note that NavigationObstacles should only be used if necessary and for moving objects only
Note that NavigationObstacles should only be used if necessary and for moving objects only.

(cherry picked from commit d1959cabd9)
2022-06-09 10:08:01 +02:00
smix8 c9c5e57109 Document that NavigationAgent height offset is mostly a placebo
Document that NavigationAgent height offset is mostly a placebo.

(cherry picked from commit b1d9853415)
2022-06-09 10:06:15 +02:00
Rémi Verschelde e9ca65207e
Merge pull request #61822 from smix8/tilemap_texture_offset_fix_3.5 2022-06-08 22:46:04 +02:00
Rémi Verschelde 49205ccaa6
Merge pull request #61624 from bruvzg/export_errors 2022-06-08 22:20:47 +02:00
smix8 3aa05b7b67 [3.5] Fix TileMap texture offset for navigationmesh and collisionshapes
[3.5] Fix TileMap texture offset for navigationmesh and collisionshapes
2022-06-08 19:30:52 +02:00
bruvzg f5fa1ca944
Add readable export errors. Add RTL image vertical alignment support. 2022-06-08 17:56:28 +03:00
Kirill Diduk bf60d655e2 [GDNative] Add missing declaration of `join` method for PoolStringArray class
The class PoolStringArray in GDScript has `join` method, and it even has documentation.
However, the corresponding definition of this method in GDNative headers were missing.

In this commit, the missing GDNative definition of `join` method has been added.
A new CORE API version 1.3 has been added with the new metod `join`.
2022-06-08 14:58:54 +02:00
Rémi Verschelde 6536877117 i18n: Sync classref translations with Weblate 2022-06-08 13:16:32 +02:00
Rémi Verschelde f1eab40cda i18n: Sync editor translations with Weblate
Remove some translation templates which were empty or almost empty
(less than 10 strings translated, years without further activity).
2022-06-08 13:16:32 +02:00
Rémi Verschelde 1af8d952ab
Merge pull request #61802 from akien-mga/3.x-i18n-fixes 2022-06-08 13:14:50 +02:00
Rémi Verschelde ab167db9c3
Merge pull request #61803 from bruvzg/ft_lto_build 2022-06-08 13:07:17 +02:00
Rémi Verschelde 80b82e4e66 i18n: Misc fixes translation strings
Adds some translator comments to solve some questions raised on Weblate.
2022-06-08 12:56:42 +02:00
bruvzg 08579bb971
Fix FreeType crashing in GCC + LTO builds. 2022-06-08 13:48:24 +03:00
Sergey Pershenkov d51fc369b7 draw_circle() draws a filled circle
(cherry picked from commit adccb9fd60)
2022-06-08 10:11:28 +02:00
Fredia Huya-Kouadio 05fc140ee6 Misc editor tweaks and polishes:
- Using a bucketized approach to select the editor scale in order to avoid too high values
- Add default app dimensions: used on Android devices with free floating app windows to set the default app frame
- Add ability to launch the Game window in an adjacent frame when in multi window mode

(cherry picked from commit 6f7ec7f723)
2022-06-08 10:11:28 +02:00
smix8 99fb3205bd Add class doc that NavigationServer changes are not instant
Add class doc that NavigationServer changes are not instant.

(cherry picked from commit 7f72b7b3ad)
2022-06-08 10:11:27 +02:00
Rémi Verschelde 6ec7e2c230
Merge pull request #61729 from lawnjelly/faster_mesh_merging
Optimized Mesh Merging
2022-06-08 07:10:32 +02:00
lawnjelly 1d870403b2 Optimized Mesh Merging
Changes from PoolVector to LocalVector and pre-reserving vectors rather than push_back.
2022-06-07 20:16:51 +01:00
Rémi Verschelde 70951b3a9c
Merge pull request #61728 from YeldhamDev/always_clear_backport
[3.x] Take into account the clear icon's size even when not visible in `LineEdit`s
2022-06-07 14:16:32 +02:00
Rémi Verschelde 9ca190dfe5
Merge pull request #61718 from ArshPanesar/Fixed-Populating-MultimeshInstance-Crash
Fixed Issue #61553 - Populating MultimeshInstance Crash
2022-06-07 14:12:02 +02:00
Arsh Panesar 84a6407286 Fixed Populating MultimeshInstance Crash
When populating a MultimeshInstance (node), Godot would set the
new Multimesh's color and custom data format as the current node's
multimesh, which would cause a crash if node's multimesh is null.

Populate Function will now check if node has a multimesh or not, and
set the new multimesh with default (NONE) values if node's multimesh is
null.

Fixes Issue #61553
2022-06-07 09:27:48 +05:30
Rémi Verschelde 821f484ad4
Merge pull request #61757 from lawnjelly/unsigned_enums_fix 2022-06-06 20:10:08 +02:00
lawnjelly ba74643594 Force unsigned behaviour for bitfield enums
Some compilers (notably MSVC) were using signed values for bitfield enums. This was causing problems where 2 bits were used to store 4 or less enum values, where they were being treated as negative numbers.

This PR explicitly requests these enums to be treated as unsigned values.
2022-06-06 16:58:21 +01:00
Rémi Verschelde b48a589a45
Merge pull request #61740 from aaronfranke/3.x-arch-os-feature 2022-06-06 17:45:08 +02:00
Rémi Verschelde a9a9595e93
Merge pull request #61754 from timothyqiu/own-world-3.x 2022-06-06 17:18:45 +02:00
Haoyu Qiu d043f91b79 Fix `Viewport.own_world` documentation
Also fixed the naming of the setter's parameter and made an `if` block
straightforward.
2022-06-06 21:34:36 +08:00
Rémi Verschelde e80dfb7b12
Merge pull request #61687 from YeldhamDev/double_hover_fix
Fix hover being drawn twice inside `PopupMenu`s
2022-06-06 13:17:25 +02:00
Aaron Franke 0470392930
[3.x] Improve architectures in OS::has_feature and make it work on MSVC 2022-06-05 23:16:13 -05:00
Michael Alexsander 43b0e054be Take into account the clear icon's size even when not visible in `LineEdit`s 2022-06-05 16:22:01 -03:00
Rémi Verschelde ef8401edf5
Merge pull request #61686 from YeldhamDev/weird_bugs
Fix specific bug related to submenus in `PopupMenu`
2022-06-05 13:21:33 +02:00
Michael Alexsander b4e4f88cd9 Fix specific bug related to submenus in `PopupMenu` 2022-06-04 13:26:12 -03:00
Rémi Verschelde 4ff41cc4f8
Merge pull request #61661 from timothyqiu/pm-space
[3.x] Fix empty space after project sort options
2022-06-04 15:44:16 +02:00
Michael Alexsander 78fdebf8cc Fix hover being drawn twice inside `PopupMenu`s 2022-06-04 02:51:22 -03:00
Haoyu Qiu 03e84abfa5 Fix empty space after project sort options 2022-06-04 00:20:09 +08:00
Rémi Verschelde a6b27b526f
Merge pull request #60822 from lawnjelly/fti_add_child_reset 2022-06-03 14:56:19 +02:00
Rémi Verschelde 61ae6b521e
Merge pull request #61482 from Calinou/profiler-increase-frame-history-3.x 2022-06-03 12:51:26 +02:00
Rémi Verschelde 07b47c9624
Merge pull request #61655 from timothyqiu/http-escape-mingw-3.x
[3.x] Fix `String.http_escape` on Windows
2022-06-03 09:38:22 +02:00
Haoyu Qiu 1a7e3b3ab6 Fix String.http_escape on Windows 2022-06-03 13:41:45 +08:00
Rémi Verschelde 757d6c284e
Merge pull request #61612 from snailrhymer/lookup-fix-3.x
Make Lookup Symbol recognize `assert`, `preload`, and `yield` in the script editor
2022-06-01 23:39:22 +02:00
SnailRhymer b94a0d486d Make Lookup Symbol recognize assert, preload, and yield in the script editor 2022-06-01 22:21:36 +01:00
Rémi Verschelde cef6e91450
Merge pull request #61580 from madmiraal/android-kotlin-java-version-3.x 2022-06-01 18:31:23 +02:00
Marcel Admiraal 9f0dba8b65 Ensure Android Java and Kotlin compile to the same version 2022-06-01 16:24:12 +01:00
Rémi Verschelde c8552e0a90
Merge pull request #61598 from timothyqiu/doc-fixes 2022-06-01 11:30:31 +02:00
Haoyu Qiu fb62ec6c1d Fix several typos in the classref 2022-06-01 15:57:51 +08:00