Commit Graph

33574 Commits

Author SHA1 Message Date
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
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 LineEdits 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 PopupMenus 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
Rémi Verschelde
e9d3748e93
Merge pull request #61591 from fire-forge/gt2d_get_data
[3.x] Fix `get_data()` for GradientTexture2D
2022-06-01 08:59:49 +02:00
FireForge
ea46f32246 Fix get_data() for GradientTexture2D 2022-05-31 23:19:25 -05:00
Rémi Verschelde
af8a02ddaf i18n: Sync classref translations with Weblate 2022-06-01 00:39:49 +02:00
Rémi Verschelde
5be04c9153 i18n: Sync editor translations with Weblate 2022-06-01 00:37:03 +02:00
Marcel Admiraal
caaaef68b4 Only use Android fullscreen theme for splash screen
(cherry picked from commit d0cb299f04)
2022-06-01 00:29:46 +02:00
kobewi
309ad643a9 Hide redundant categories from project settings
(cherry picked from commit 1a9635cc57)
2022-06-01 00:29:46 +02:00
Hugo Locurcio
46b7133967 Add a 3D suffix to relevant physics profiler categories
2D physics categories already had a 2D suffix: "Physics 2D"

(cherry picked from commit 36428305a6)
2022-06-01 00:29:46 +02:00
smix8
47ade6786f Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty
Fix MultiMeshInstance crash in navmesh baking when MultiMesh Resource is empty

(cherry picked from commit caceceab08)
2022-06-01 00:29:46 +02:00
dtesniere
ed4e597027 Fix class name : change "string" to "String"
Change case of "s" letter : "string" does not compile but "String" does (for gdScript)

(cherry picked from commit 55b63eceaa)
2022-06-01 00:29:46 +02:00
Rémi Verschelde
6bcf1b5e1f
Merge pull request #61574 from madmiraal/android-cleanup-3.x
[3.x] Cleanup Android C++ code
2022-05-31 23:48:40 +02:00
Rémi Verschelde
889837a632
Merge pull request #61576 from YuriSizov/editor-improve-export-all-3.x
[3.x] Improve the Export All button display in the export dialog
2022-05-31 20:16:47 +02:00
Yuri Sizov
fee968bc26 Improve the Export All button display in the export dialog 2022-05-31 20:44:23 +03:00
Marcel Admiraal
7a782edeaa Cleanup Android C++ code 2022-05-31 17:11:44 +01:00
Rémi Verschelde
b44928586b
Merge pull request #61483 from kleonc/popup-update-exclusive-when-shown
[3.x] Allow changing `exclusive` of already popped up `Popup`
2022-05-31 12:14:37 +02:00
Rémi Verschelde
0acd1ca850
Merge pull request #61266 from smix8/navigation_tilemap_poly_3.x 2022-05-31 11:25:00 +02:00
Rémi Verschelde
51e52b5ed8
Merge pull request #61496 from timothyqiu/asymmetric-le-3.x
[3.x] Fix LineEdit clear button for asymmetric stylebox
2022-05-31 08:56:13 +02:00
Rémi Verschelde
6047d0903d
Merge pull request #61545 from skyace65/RigidBodyDoc
Fix rigid body damp description (3.x)
2022-05-31 01:06:14 +02:00
skyace65
c0ecbeaf6f Fix rigid body damp description (3.x) 2022-05-30 13:39:44 -04:00
Rémi Verschelde
4822ea81e4
Merge pull request #61535 from bruvzg/lbl3x_ov
[3.x] Fix Label3D oversampling.
2022-05-30 08:28:43 +02:00
bruvzg
553bdc6783
[3.x] Fix Label3D oversampling. 2022-05-30 09:05:41 +03:00
Rémi Verschelde
fdade32d40
Merge pull request #61527 from Calinou/doc-empty-variant-null-3.x
Change instances of "returns an empty Variant" to "returns null" in docs (3.x)
2022-05-29 22:30:45 +02:00