Commit graph

33025 commits

Author SHA1 Message Date
Ricardo Buring
21580f94ad NavigationObstacle2D: estimate agent radius only when configured to do so 2022-04-03 22:11:44 +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
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
Fredia Huya-Kouadio
8ca32d1727 Fix flickering issues with low processor mode on Android 2022-03-29 12:17:25 -07:00
Rémi Verschelde
2ad82982ec
Merge pull request #59661 from timothyqiu/fbx-reg-3.x
[3.x] Simplify FBX importer project settings registering
2022-03-29 09:21:45 +02:00
Haoyu Qiu
17ce0fcc7c Simplify FBX importer project settings registering 2022-03-29 15:00:31 +08:00
Rémi Verschelde
eb837f8cb4
Merge pull request #59375 from timothyqiu/extract-refactor-3.x
[3.x] Refactor editor `extract.py`
2022-03-29 08:45:18 +02:00
Rémi Verschelde
37f6fff7ae i18n: Sync classref translations with Weblate 2022-03-29 01:22:21 +02:00
Rémi Verschelde
15dc747de8 i18n: Sync editor translation template after #59349 2022-03-29 01:22:20 +02:00
Rémi Verschelde
0db753ef54 i18n: Sync editor translations with Weblate 2022-03-29 01:22:20 +02:00
Rémi Verschelde
91c6192678
Merge pull request #59648 from akien-mga/3.x-cherrypicks 2022-03-29 01:19:44 +02:00
FireForge
7f787857ef Fix inspector group name capitalization
(cherry picked from commit 88b09694e7)
2022-03-29 00:20:23 +02:00
Aleksey Smirnov
ad0c4bf32d Replace copies with constant refs
(cherry picked from commit 1a13de0f8d)
2022-03-29 00:08:29 +02:00
Nicholas Huelin
6c778a19d1 Hide "Normal Map" import option when using lossless compression on Texture
This pull request resolves an issue where images being imported with lossless compression allowed you to select a normal map, but the normal map only applies if you're using VRAM compression. Thereby making it redundant to appear when using lossless compression. This pull request hides the normal map option when lossless compression is selected.

Resolves: #59435
(cherry picked from commit 01ca9d3eec)
2022-03-29 00:07:45 +02:00
Daniel Kříž
7ed3bfc2fb Fix persistent favorites after rename
Signed-off-by: Daniel Kříž <Daniel.kriz@protonmail.com>
(cherry picked from commit 0535ef549a)
2022-03-29 00:06:24 +02:00
Vitika9
8d1827cf7c Made reload current project ask for confirmation with unsaved changes
(cherry picked from commit eb81ac8fc5)
2022-03-29 00:03:53 +02:00
Rémi Verschelde
c4897c4b8d Improve range property hints for various collision shapes
Fixes #36419.

Co-authored-by: Andrii Doroshenko (Xrayez) <xrayez@gmail.com>
(cherry picked from commit 0d772c6e6e)
2022-03-28 23:57:43 +02:00
Rémi Verschelde
81eda4eee0 doc: Fix String.rsplit code example
Fixes #36898.
Supersedes and closes #36951.

(cherry picked from commit e7fd0ec31f)
2022-03-28 23:51:32 +02:00