Commit graph

33262 commits

Author SHA1 Message Date
David Snopek
2a6199aa0f Add WebXRInterface.xr_standard_mapping flag to attempt to convert button/axis ids to match other AR/VR interfaces 2022-04-08 10:46:38 -05:00
Haoyu Qiu
5c039ccc72 Free region RID when cleaning NavPoly in TileMap 2022-04-08 19:19:09 +08:00
Haoyu Qiu
f24312380f Rename NavigationServer's free method to free_rid 2022-04-08 17:31:04 +08:00
Haoyu Qiu
f0908df8b9 Disable "Open in Inspector" when there is no animation 2022-04-08 10:20:33 +08:00
Rémi Verschelde
14856b1dbd
Merge pull request #59977 from timothyqiu/type-filter-focus 2022-04-07 13:13:17 +02:00
C.Even
cfe0991b20 Retrieve primary monitor size in fullscreen mode
* Fixes #21674
2022-04-07 18:51:16 +08:00
Haoyu Qiu
f196532de6 Focus filter LineEdit after Theme Type dialog popup 2022-04-07 17:14:53 +08:00
Rémi Verschelde
6d9cbcb05f
Merge pull request #59926 from ConteZero/expose_get_selected_text
[3.x] Expose get_selected_text() in RichTextLabel
2022-04-06 08:27:06 +02:00
ConteZero
820728aa52 [3.x] Expose get_selected_text in RichTextLabel 2022-04-05 22:38:10 +02:00
Rémi Verschelde
cfdb99a741
Merge pull request #57411 from Scony/fix-threaded-navmesh-baking-3.x
Fix navmesh baking
2022-04-05 19:59:32 +02:00
Rémi Verschelde
a4bbc87acc
Merge pull request #59900 from timothyqiu/remove-theme-type
[3.x] Add an explicit way to remove a theme type
2022-04-05 08:29:17 +02:00
Rémi Verschelde
781ffb813e
Merge pull request #59898 from timothyqiu/missing-period
[3.x] Add missing period in classref of 3D render layer
2022-04-05 08:27:07 +02:00
Haoyu Qiu
f6251724af Add an explicit way to remove a theme type
Co-Authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-05 11:51:15 +08:00
Haoyu Qiu
bba6d18973 Add missing period in classref of 3D render layer 2022-04-05 09:43:38 +08:00
Rémi Verschelde
20b08185f3
Merge pull request #59894 from ConteZero/richtextlabel_deselect_3.x 2022-04-05 00:01:27 +02:00
Rémi Verschelde
169234e5e0
Merge pull request #59892 from Sauermann/fix-3x-subviewport-container-event-transform 2022-04-05 00:00:09 +02:00
Rémi Verschelde
44a7fd1bfb
Merge pull request #59836 from ConteZero/fix_editor_log 2022-04-04 23:56:06 +02:00
ConteZero
5e714051ea [3.x] Add deselect() to RichTextLabel 2022-04-04 22:46:13 +02:00
Markus Sauermann
9a9f86ec12 Fix event transform in ViewportContainer 2022-04-04 22:34:49 +02:00
Rémi Verschelde
20e4fa2ccc
Merge pull request #59838 from keptsecret/3x_fix_filedialog_user_data_access 2022-04-04 21:48:01 +02:00
Rémi Verschelde
5f9ae5e936
Merge pull request #59868 from m4gr3d/update_default_display_scale 2022-04-04 19:31:59 +02:00
Fredia Huya-Kouadio
3ba0508f79 Update the editor display scale based on the device's scaled density 2022-04-04 04:18:56 -07:00
Rémi Verschelde
21c3048397 Add missing argument names in bindings 2022-04-04 12:56:59 +02:00
Ricardo Buring
887a5cd4f9 SpaceBullet::recover_from_penetration: skip compound shapes without child shapes
Before, this case would incorrectly get caught as an error, causing an
early return, in particular skipping other possibly relevant shapes.
2022-04-04 11:07:57 +02:00
Rémi Verschelde
e03f50acd6
Merge pull request #59857 from timothyqiu/editor-missing-check-icons
[3.x] Add missing `CheckBox` & `CheckButton` editor icons
2022-04-04 09:34:34 +02:00
Rémi Verschelde
1183abfb79
Merge pull request #59848 from rburing/estimate_agent_radius_inside_tree
[3.x] `NavigationObstacle2D`: estimate agent radius only when configured to do so
2022-04-04 09:25:14 +02:00
Rémi Verschelde
1ad7999ce2
Merge pull request #59846 from Scony/fix-debug-navmesh-errors-3.x
Fix debug navmesh errors
2022-04-04 09:24:36 +02:00
Haoyu Qiu
1136a9b58a Add missing CheckBox & CheckButton editor icons
Co-authored-by: Silc 'Tokage' Renew <tokage.it.lab@gmail.com>
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2022-04-04 12:15:46 +08:00
Ricardo Buring
21580f94ad NavigationObstacle2D: estimate agent radius only when configured to do so 2022-04-03 22:11:44 +02:00
Pawel Lampe
fad77ecc39 Fix debug navmesh errors, fixes #59845 2022-04-03 21:47:20 +02:00
keptsecret
c69689ab5a fix unable to change directory in user access mode 2022-04-03 11:22:01 -04:00
ConteZero
6188e427b4 Fix Copy Selection on editor_log 2022-04-03 16:38:55 +02:00
Ellen Poe
a5f9e1ce18
Merge pull request #59829 from RandomShaper/fix_null_stream_crash_3.x
[3.x] Fix crash when passing null to AudioStreamPlayer::set_stream()
2022-04-03 05:40:54 -07:00
Pedro J. Estébanez
9e2d5120c1 Fix crash when passing null to AudioStreamPlayer::set_stream() 2022-04-03 12:52:17 +02:00
ConteZero
57b616fb21 Fix Right-Click clearing selection 2022-04-03 10:18:12 +02:00
Pawel Lampe
3035b9c44c Fix navmesh baking, fixes #57148
- improved mesh data calculation from standalone static colliders so that no
  VisualServer calls are performed - and thus no VS mutexes need to
  be locked in case of on-thread baking
- improved the same for GridMap's static colliders
2022-04-02 23:20:41 +02:00
Rémi Verschelde
fa9b77dbe3
Merge pull request #59813 from Calinou/project-manager-default-env-newlines
Add missing newlines to the generated `default_env.tres` in new projects
2022-04-02 21:54:02 +02:00
Rémi Verschelde
20a0463bd9
Merge pull request #59814 from vnen/type-info-release-3.x
Fix argument type generation with typed method binds
2022-04-02 21:53:40 +02:00
George Marques
f0ca73892a
Fix argument type generation with typed method binds
It needs to generate the types, not only set the argument count.
2022-04-02 14:32:01 -03:00
Hugo Locurcio
053b54b67c
Add missing newlines to the generated default_env.tres in new projects
This prevents unnecessary whitespace changes in VCS diffs when saving
a scene for the first time in a new project.
2022-04-02 18:41:15 +02:00
Rémi Verschelde
99c07c92eb
Merge pull request #59793 from vnen/type-info-release-3.x 2022-04-02 00:08:47 +02:00
George Marques
663978e8ba
GDScript: Properly check type info in release builds
This makes sure native methods and properties have the actual type
checked to compare for compatibility and inference.
2022-04-01 18:20:37 -03:00
George Marques
226103d166
Enable type information on release
This is needed for GDScript (and potentially other scripting languages)
to properly identify type errors and avoid mismatch between release and
debug versions.

This increases the release bynary size by about 889 KiB.
2022-04-01 18:20:33 -03:00
Yuri Rubinsky
385515431b
Merge pull request #59775 from Chaosus/shader_fix_3.x 2022-04-01 21:37:47 +03:00
Rémi Verschelde
4ecb9ccb9c
Merge pull request #59789 from timothyqiu/get-atom-name 2022-04-01 16:59:40 +02:00
Rémi Verschelde
39346f81f2
Merge pull request #59778 from Pineapple/audio-channels-count-change-crash-fix 2022-04-01 16:34:03 +02:00
Haoyu Qiu
bccd23f4bf Fix memory leak when handling Linux primary clipboard 2022-04-01 21:55:53 +08:00
Bartłomiej T. Listwon
df39e0f472 Fix crash in AudioServer when switching audio devices with different audio channels count (connecting PS5 controller, bluetooth 5.1 headphones etc.) 2022-04-01 10:45:42 +02:00
Rémi Verschelde
fce09f19dc
Merge pull request #58209 from Scony/fix-navi-get-simple-path
Fix `get_simple_path` behavior in 2D & 3D
2022-04-01 08:46:54 +02:00
Rémi Verschelde
4078862977
Merge pull request #59772 from timothyqiu/i18n-theme-props-3.x
[3.x] Extract theme property names for localization
2022-04-01 08:42:24 +02:00