Commit Graph

42612 Commits

Author SHA1 Message Date
Rémi Verschelde ac591d9904
Merge pull request #59911 from bruvzg/cppcheck_fixes 2022-04-06 15:47:20 +02:00
bruvzg f851c4aa33
Fix some issues found by cppcheck. 2022-04-06 14:34:37 +03:00
Rémi Verschelde 72407a9cfb
Merge pull request #57871 from bruvzg/rtl_impr_tbl_sel
[RTL] Improve table cell selection.
2022-04-06 09:14:39 +02:00
Rémi Verschelde 5d55846715
Merge pull request #59862 from bruvzg/font_delay_texture_update
Delay font texture update, until `draw` is called. Rasterize glyphs during shaping.
2022-04-06 08:39:45 +02:00
Rémi Verschelde b79721fede
Merge pull request #59908 from bruvzg/fix_popup_close_race
Fix a possible race condition on popup close, that might cause multiple deletions of the same list item.
2022-04-06 08:35:56 +02:00
bruvzg 9c61fa7ad8
[RTL] Improve table cell selection. 2022-04-06 09:03:08 +03:00
Rémi Verschelde e4f0fc50f7
Merge pull request #59930 from Scony/fix-navi-get-simple-path-master
Fix `map_get_path` aka `get_simple_path` behavior in 2D & 3D
2022-04-05 23:55:47 +02:00
Rémi Verschelde a8ae206a1e
Merge pull request #59922 from V-Sekai/fix_editor_search
Improve handling for editor documentation search with blank searches
2022-04-05 23:49:41 +02:00
Rémi Verschelde 956189e0d2
Merge pull request #59920 from marstaik/fix_project_manager
Fix Project Manager hard crashes due to invalid access to Editor Nodes
2022-04-05 23:47:28 +02:00
Pawel Lampe dcab82ad43 Fix get_simple_path behavior in 2D & 3D 2022-04-05 23:26:37 +02:00
Rémi Verschelde d405761ee7
Merge pull request #59923 from pfertyk/issue-59915-noise-generate-texture-crash
Fix `NoiseTexture._generate_texture` crash
2022-04-05 23:08:30 +02:00
SaracenOne 208c4ce3f0 Improve handling for editor search with blank searches 2022-04-05 21:39:02 +01:00
Paweł Fertyk 79b4844be5 Fix `NoiseTexture._generate_texture` crash
Fixes #59915 .
2022-04-05 22:24:58 +02:00
Marios Staikopoulos da2b5da0c5 Fix Project Manager hard crashes due to invalid access to Editor Nodes 2022-04-05 11:40:47 -07:00
Rémi Verschelde 77843355a0 CI: Update black formatter and apply changes 2022-04-05 17:43:12 +02:00
Rémi Verschelde 9caba19095
Merge pull request #59916 from KoBeWi/gimzo_extends 2022-04-05 17:31:56 +02:00
kobewi 6e622c58c5 Change gizmo_extents to property 2022-04-05 16:16:28 +02:00
Rémi Verschelde e9699dca02
Merge pull request #58062 from Calinou/panoramaskymaterial-default-black 2022-04-05 15:21:01 +02:00
Rémi Verschelde f00803b8a5
Merge pull request #56695 from bruvzg/mod_unicode_input 2022-04-05 14:03:39 +02:00
Rémi Verschelde c91f4ac419
Merge pull request #59910 from rcorre/array-remove-doc 2022-04-05 13:43:21 +02:00
Ryan Roden-Corrent f84e2db35e
Clarify Array.erase for nonexistant element.
The docs specify that Array.remove does nothing if the index does not
exist. Array.erase does not have a similar phrase, so it's unclear if
erase will print an error, or silently do nothing.
2022-04-05 07:07:56 -04:00
bruvzg d1207a0504
[Input] Add extra `shortcut_input` input processing step to process Unicode character input with Alt / Ctrl modifiers, after processing of shortcuts. 2022-04-05 13:46:45 +03:00
bruvzg daa42e0e50
Fix a possible race condition on popup close, that might cause multiple deletions of the same list item. 2022-04-05 12:44:29 +03:00
Rémi Verschelde dc1ea3c239
Merge pull request #59905 from Chaosus/fix_first_doc_open
Fix lookup symbol in scripts which doesn't open a tab at first attempt
2022-04-05 10:11:17 +02:00
bruvzg aad9d1414c
Delay font texture update, until `draw` is called. Rasterize glyphs during shaping. 2022-04-05 10:49:41 +03:00
Yuri Roubinsky 5db47c5521 Fix lookup symbol in scripts which doesn't open a tab at first attempt 2022-04-05 10:18:45 +03:00
Rémi Verschelde 479143ab2a
Merge pull request #59897 from timothyqiu/undo-select
Consider chained operation when selecting text in `TextEdit::undo()`
2022-04-05 08:26:15 +02:00
Haoyu Qiu 8cefbfcf43 Consider chained operation when selecting text in TextEdit::undo() 2022-04-05 09:12:10 +08:00
Rémi Verschelde 3ffe7004dd
Merge pull request #59896 from akien-mga/dynamicbvh-crash 2022-04-05 02:20:40 +02:00
Rémi Verschelde 099b024a2b Fix DynamicBVH crash after #59867
I made a wrong assumption that initialization the other pointer in the
union would properly initialize the `childs` array.
2022-04-05 02:17:34 +02:00
Rémi Verschelde af2c8fbcb6
Merge pull request #59891 from ConteZero/editor_log_deselect 2022-04-05 00:00:28 +02:00
Rémi Verschelde f454cea785
Merge pull request #58452 from marcgpuig/text-edit-backspace-fix 2022-04-04 23:58:33 +02:00
Rémi Verschelde b512fe67a6
Merge pull request #59888 from akien-mga/clang-tidy 2022-04-04 23:57:30 +02:00
Rémi Verschelde db8e6bd83f
Merge pull request #59885 from Jayman2000/autoload-inheritance-message 2022-04-04 23:56:20 +02:00
Rémi Verschelde a28314b036
Merge pull request #59893 from Scony/fix-debug-navmesh-errors 2022-04-04 23:55:42 +02:00
Pawel Lampe e17e4b34a8 Fix debug navmesh errors 2022-04-04 23:03:14 +02:00
ConteZero deddbc142c Disable deselect on focus lost on editor_log 2022-04-04 22:21:49 +02:00
Jason Yundt 1cc7e7ec33 Improve autoload inheritance error message
Autoloaded scripts should always inherit from Node. When you run a
project that tries to autoload a script which doesn’t inherit from Node,
then Godot gives an error.

Before this change, the error said “Script does not inherit a Node”.
That error message is a little bit misleading. If a class inherits a
Node, then one of its superclasses has a Node. If a class inherits
_from_ Node, then one of its superclasses is Node. This change corrects
that mistake.

Fixes #59884.
2022-04-04 15:51:02 -04:00
Rémi Verschelde b78aa4fe19 Style: Apply clang-tidy to current code, add `readability-redundant-member-init` 2022-04-04 21:49:51 +02:00
Rémi Verschelde 1abb5ebf65
Merge pull request #59867 from akien-mga/refactor-zero-initialize-all-pointers 2022-04-04 21:24:27 +02:00
Rémi Verschelde f8ab79e68a Zero initialize all pointer class and struct members
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
Rémi Verschelde 53317bbe14
Merge pull request #59866 from m4gr3d/update_default_display_scale_main 2022-04-04 19:31:37 +02:00
Rémi Verschelde f084d50cdd
Merge pull request #59880 from m4gr3d/update_resizeable_main 2022-04-04 19:06:54 +02:00
Rémi Verschelde 22e8e8626f
Merge pull request #59881 from Sauermann/revert-59737 2022-04-04 19:04:04 +02:00
Rémi Verschelde fc45c28660
Merge pull request #59841 from KoBeWi/drag_box 2022-04-04 18:24:06 +02:00
Fredia Huya-Kouadio 8eabf77f54 Update the editor display scale based on the device's scaled density 2022-04-04 09:23:43 -07:00
Fredia Huya-Kouadio f1a7caf9bb Remove duplicate `resizable` settings 2022-04-04 09:18:07 -07:00
Markus Sauermann 01c37dc277 Revert "Fix that collision objects ignore canvas transform"
This reverts commit 5521b93750.
2022-04-04 18:08:05 +02:00
Rémi Verschelde e659eb66a0
Merge pull request #59874 from ConteZero/richtextlabel_deselect 2022-04-04 16:57:11 +02:00
ConteZero 45159e88e1 Add deselect() to RichTextLabel 2022-04-04 16:06:57 +02:00