Commit graph

34532 commits

Author SHA1 Message Date
lawnjelly
fdd82f4754 CPUParticles initialize data on set_amount
Fills particle data with zeroes on resize using set_amount(), to prevent garbage data including Nans being sent to VisualServer, which can corrupt the spatial partitioning.
2022-09-19 16:53:01 +01:00
kleonc
0a64c2eba5 SpriteBase3D Fix drawing AtlasTextures with vertical margins differently than in 2D 2022-09-18 20:27:23 +02:00
kleonc
0bf2b8e813 Move duplicated drawing code from Sprite3D/AnimatedSprite3D to SpriteBase3D 2022-09-18 20:27:09 +02:00
dzil123
1e4f47ffe0 Fix variables highlighting as types 2022-09-17 01:24:19 -07:00
Clay John
cf157a804f
Merge pull request #65826 from lawnjelly/multimesh2D_zero_amount
Prevent drawing MultiMesh with zero instance count
2022-09-15 08:48:45 -07:00
lawnjelly
a300505066 Prevent drawing MultiMesh with zero instance count
Issuing a driver drawcall for MultiMesh with zero instances crashes some drivers.
2022-09-15 13:20:12 +01:00
Rémi Verschelde
5600be9571
Merge pull request #63085 from m4gr3d/update_android_editor_menus_3x
[3.x] Disable menus and functionality that are not relevant on the Android Editor port
2022-09-13 23:59:41 +02:00
Fredia Huya-Kouadio
1f23bac645 Disable menus and functionality that are not relevant on the Android Editor port 2022-09-13 07:38:07 -07:00
Rémi Verschelde
fd1af84bf5
Merge pull request #64358 from kleonc/sprite-frames-dialog-deselect-frame-lmb-3x 2022-09-13 10:41:41 +02:00
Rémi Verschelde
faafde7e83
Merge pull request #65683 from m4gr3d/update_editor_versioning_3x 2022-09-13 10:38:37 +02:00
Fredia Huya-Kouadio
da332d69c0 Exclude small screens from the set of supported devices. 2022-09-12 08:00:23 -07:00
Fredia Huya-Kouadio
f37390cbc5 Update the versioning logic for the Godot Android Editor
This is necessary to separate subsequent uploads to the Google Play store as each upload needs to increment the version code.
2022-09-12 07:59:45 -07:00
Rémi Verschelde
a10c2d4a38 Merge pull request #65686 from lawnjelly/portals_show_raycast
Portals - Show RayCast debug helper
2022-09-12 11:34:25 +02:00
Rémi Verschelde
f6d3a78921 Merge pull request #65684 from lawnjelly/portals_debug_helper_doc
Portals - clarify docs VisualInstances only
2022-09-12 11:34:15 +02:00
Rémi Verschelde
5ff2c773aa Merge pull request #65663 from lawnjelly/vital_updates_animated_sprite
Low priority redraw request for AnimatedSprite
2022-09-12 11:33:14 +02:00
lawnjelly
09befec1ed Portals - Show RayCast debug helper
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
2022-09-12 06:46:48 +01:00
lawnjelly
dcf52103a6 Portals - clarify docs VisualInstances only
Makes it more clear in the documentation that some debugger features are expected not to show when portals are active.
2022-09-12 06:29:55 +01:00
lawnjelly
54a939a029 Low priority redraw request for AnimatedSprite
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
2022-09-11 19:09:07 +01:00
Rémi Verschelde
13d99d1676
Merge pull request #65568 from YuriSizov/docs-theme-no-param-woes-3.x 2022-09-09 16:11:21 +02:00
Rémi Verschelde
46104d4886 i18n: Sync classref translations with Weblate (3.5 branch)
(cherry picked from commit 26a28d6bbd)
2022-09-09 14:51:33 +02:00
Rémi Verschelde
74097dc3ab i18n: Sync editor translations with Weblate (3.5 branch)
(cherry picked from commit 367ffd10c8)
2022-09-09 14:51:14 +02:00
Rémi Verschelde
2aee09c6bc
Merge pull request #65428 from lawnjelly/input_uninit 2022-09-09 14:28:06 +02:00
Rémi Verschelde
d52a25fdec CI: Downgrade Emscripten to 3.1.18
Emscripten 3.1.19 and 3.1.20 have a showstopping regression that breaks
calling our main function for the editor build.

(cherry picked from commit b353336037)
2022-09-09 14:25:26 +02:00
Micky
93943bc1b9 Prevent HTTPRequest from polling invalid client
(cherry picked from commit 9e284f68ec)
2022-09-09 14:17:24 +02:00
Rémi Verschelde
7957dc7755 SCons: Fix compilation database generation with MSVC
Fixes #54434.

Co-authored-by: Daniel Moody <daniel.moody@mongodb.com>
(cherry picked from commit 22381d9d07)
2022-09-09 14:15:39 +02:00
Micky
b21a3418f4 Fix tool script button color overriding custom type color
Also adds a small note on the tooltip noting the custom type.

(cherry picked from commit 65cc721eb9)
2022-09-09 14:13:49 +02:00
Andres Hernandez
477c7f9b74 Updated gamecontrollerdb.txt to latest to include new mappings for various controllers, including Xbox One, Nintendo Switch, Steam Deck, and 8BitDo
(cherry picked from commit 9054399900)
2022-09-09 14:11:50 +02:00
volokh0x
36bda802e5 Fix typos in Dictionary.xml
(cherry picked from commit ff23defaf8)
2022-09-09 14:11:35 +02:00
kobewi
884f368c24 Improve the description of follow_viewport_enabled
(cherry picked from commit 229e764290)
2022-09-09 14:10:33 +02:00
Yuri Sizov
9496254737 Fix parameter references in Theme documentation 2022-09-09 14:52:24 +03:00
Rémi Verschelde
58d04399d4
Merge pull request #65556 from timothyqiu/xml-parser-fixes-3.x
[3.x] Fix parsing of XML CDATA and add test cases
2022-09-09 07:53:08 +02:00
Haoyu Qiu
7ed2b09bc0 Fix parsing of XML CDATA and add test cases 2022-09-09 10:16:36 +08:00
Rémi Verschelde
5e3f403ddb
Merge pull request #65500 from migeran/fix-utf8-checks-3x 2022-09-08 13:30:33 +02:00
Rémi Verschelde
953dea1227
Merge pull request #63309 from akien-mga/3.x-scons-refactor-lto 2022-09-08 11:24:54 +02:00
Rémi Verschelde
05e7275fce
Merge pull request #65365 from akien-mga/3.x-html5-emsdk-3.1.20 2022-09-08 10:11:06 +02:00
Rémi Verschelde
dc5bf3b22e
Merge pull request #65459 from akien-mga/3.x-changelog-shader-1f-illegal 2022-09-08 09:51:26 +02:00
Rémi Verschelde
bfe60393f5
Merge pull request #65503 from m4gr3d/fix_invalid_project_manager_path_3x 2022-09-08 09:48:43 +02:00
Rémi Verschelde
973457e215
Merge pull request #65398 from m4gr3d/cleanup_input_logic_3x 2022-09-08 09:18:39 +02:00
Gergely Kis
13d9a8c88f Fix UTF-8 validation in static checks
Use isutf8 instead of recode to detect invalid UTF-8 sequences.

Also add the necessary dependencies to run the static checks locally
using act (https://github.com/nektos/act) with the Medium size image.
2022-09-08 00:07:21 +02:00
Fredia Huya-Kouadio
4be7c91cd9 Fix issue causing the project manager to crash because of missing path argument
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:25:22 -07:00
Fredia Huya-Kouadio
63df48a59c Enable long press, pan and scale gestures for the Godot Android Editor
Fix the bug causing the editor to crash when running the project.
2022-09-07 13:29:31 -07:00
Fredia Huya-Kouadio
440fa10246 Cleanup the Android input logic implementation 2022-09-07 13:29:31 -07:00
Rémi Verschelde
92fa63886c
Merge pull request #65397 from maximkulkin/3.x-graph-edit-node-selection 2022-09-07 17:52:24 +02:00
Rémi Verschelde
968af50449 Changelog: Mention compat breaking removal of illegal '1f' syntax for shaders
Fixes #59316.
2022-09-07 09:54:15 +02:00
Rémi Verschelde
073032b6d0
Merge pull request #65429 from PhoenixFlame101/fix-code-folding-icon-color-58379 2022-09-06 21:42:33 +02:00
Abhinav Chennubhotla
8acc25578e Fix code folding icon color not matching defined color
Cherrypick of #58457 in master

Caused by reusing icons from the main editor in the code editor. These
icons were converted based on the main editor theme and not the code
editor theme.

    - Create new icons for use specifically in the code editor
    - Add these icons to the exceptions when converting dark theme icons
    to light theme automatically
    - Change the default value of the code folding color to match previous
    color
    - Code folding icon is now pure white by default to correctly match
    the color defined in settings
2022-09-06 21:50:33 +05:30
lawnjelly
d60eae3dbc Fix uninitialized data reads in Input
Found by Valgrind.
2022-09-06 14:21:01 +01:00
Rémi Verschelde
930395af6e Merge pull request #65414 from lawnjelly/raycast_uninit
Fix RayCast2DEditor uninitialized value
2022-09-06 12:31:26 +02:00
Rémi Verschelde
4682144eb8 Merge pull request #65408 from lawnjelly/dir_light_uninit
Fix GLES directional shadow uninitialized data
2022-09-06 12:31:20 +02:00
Rémi Verschelde
e2030748b0 Merge pull request #65411 from lawnjelly/flow_container_uninit
FlowContainer fix uninitialized data
2022-09-06 12:31:11 +02:00