Commit graph

34020 commits

Author SHA1 Message Date
Haoyu Qiu
5569d4d2de Fix description about SceneTreeTimer auto free
(cherry picked from commit 5a011f5999)
2022-06-10 12:53:31 +02:00
Rémi Verschelde
dad7502b8a
Merge pull request #61348 from AndreaCatania/expose_bullet_physics 2022-06-10 12:02:50 +02:00
Rémi Verschelde
278cdd08a0
Merge pull request #61886 from timothyqiu/input-props 2022-06-10 12:00:08 +02:00
AndreaCatania
6b08a22968 Exposes the BulletSpace internals.
This change is really useful to use internal bullet physics features not supported by godot.
2022-06-10 11:47:30 +02:00
FireForge
53c01540d9 Make Input mouse_mode and use_accumulated_input properties
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-06-10 17:33:12 +08:00
Rémi Verschelde
a9e966c319
Merge pull request #61544 from lawnjelly/vis_notifier_max_dist
VisibilityNotifier - add max_distance feature
2022-06-10 10:57:53 +02:00
Nikola Whallon
1b6ac2afb3 added info on microphone sample format
(cherry picked from commit eb5a42d0bc)
2022-06-10 10:25:37 +02:00
Fredia Huya-Kouadio
5946b4bdc6 Migrate the Godot Editor java source file to Kotlin.
(cherry picked from commit 6b9a81900e)
2022-06-10 10:25:37 +02:00
Danny Chung
0ba78201ae Increase AnimationPlayer position SpinBox to fit more decimals
Fixed UI bug where it appeared that pushing the up or down incrementing
arrows did not increment the SpinBox value appropriately. Just needed
to increase the size of the box horizontally, to display four decimal
points consistently.

(cherry picked from commit 09658f7e3b)
2022-06-10 10:25:37 +02:00
Rémi Verschelde
5c4e95e6e5
Merge pull request #61844 from smix8/navigation_default_navmap_3.x 2022-06-10 09:48:47 +02:00
Rémi Verschelde
23fcaec475
Merge pull request #61847 from KoBeWi/release_the_lmb!
Properly release LMB even while panning
2022-06-09 14:29:52 +02:00
smix8
96d98d8c4e Backport default World navigation maps
Backports default navigation maps created with each World or World2D.
2022-06-09 14:05:39 +02:00
kobewi
714891ace8 Properly release LMB even while panning 2022-06-09 14:02:58 +02:00
lawnjelly
0c5a424f65 VisibilityNotifier - add max_distance feature
Enables turning off objects by distance to the camera in addition to testing whether they are in the view frustum.
2022-06-09 11:37:42 +01:00
Rémi Verschelde
19fec70580
Merge pull request #61843 from akien-mga/3.x-cherrypicks 2022-06-09 12:33:48 +02:00
kobewi
460fd7c03b Add Dictionary.merge()
(cherry picked from commit a0915e6dee)
2022-06-09 11:58:48 +02:00
kobewi
7882b1ea05 Improve EditorPlugin state documentation
(cherry picked from commit 505a2ce468)
2022-06-09 10:55:17 +02:00
kobewi
fe13b94a14 Improve title of DependencyEditorOwners
(cherry picked from commit 847eee71df)
2022-06-09 10:55:17 +02:00
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