Commit Graph

33745 Commits

Author SHA1 Message Date
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
Yuri Roubinsky b5c5c2d52b Fix shader crashing when attempting to access length() at global space 2022-04-01 08:44:57 +03:00
Haoyu Qiu f9da6f6978 Extract theme property names for localization 2022-04-01 11:35:02 +08:00
Rémi Verschelde 4feee76c8e
Merge pull request #59767 from ConteZero/window_unmaximize 2022-03-31 23:57:37 +02:00
Rémi Verschelde bac58e898e
Merge pull request #59713 from Calinou/doc-canvasitem-top-level-3.x 2022-03-31 23:19:10 +02:00
ConteZero 59fb6c9ef0 Fix X11 is_window_maximized 2022-03-31 23:10:32 +02:00
Rémi Verschelde 714472d6d6
Merge pull request #59715 from Calinou/doc-vertex-lighting 2022-03-31 19:16:07 +02:00
Rémi Verschelde 5c0dccace9
Merge pull request #59413 from ellenhp/preinstance-audio-streams 2022-03-31 18:49:05 +02:00
Hugo Locurcio 4e6dfac969
Improve documentation related to 3D material vertex lighting 2022-03-31 18:11:18 +02:00
Ellen Poe 027546ee8a [3.x] instance audio streams before AudioServer::lock call 2022-03-31 08:48:36 -07:00
Rémi Verschelde 8f06d8653c
Merge pull request #59724 from timothyqiu/custom-viewport 2022-03-31 16:17:56 +02:00
Haoyu Qiu b89befe173 Fix crash when using Camera2D::set_custom_viewport() 2022-03-31 16:42:14 +08:00
Hugo Locurcio 196c4fff13
Clarify what `set_as_toplevel()` does in CanvasItem 2022-03-31 02:07:16 +02:00
Rémi Verschelde 383f79e4f1
Merge pull request #59668 from timothyqiu/strip-feature-tag-3.x 2022-03-30 16:06:56 +02:00
Rémi Verschelde 8f2b484817
Merge pull request #59179 from Calinou/occluder3D-add-editor-icons-3.x 2022-03-30 16:03:37 +02:00
Haoyu Qiu 14c13f7c4a Strip feature tag manually when extracting property paths 2022-03-30 20:28:57 +08:00
Rémi Verschelde 70aaad769b
Merge pull request #59690 from timothyqiu/missing-extract-3.x 2022-03-30 13:48:46 +02:00
Haoyu Qiu 79d3fc5319 Add more patterns for property path extraction 2022-03-30 18:21:24 +08:00
Rémi Verschelde 3c0d32562b
Merge pull request #59606 from m4gr3d/fix_low_processor_mode_3x
[3.x] Fix flickering issues with low processor mode on Android
2022-03-29 22:51:32 +02:00