Commit Graph

34130 Commits

Author SHA1 Message Date
Kurt Lachmann c07d1d0de8 Use insertText from the internal autocompletion
* GDScriptLanguage::complete_code already adds parentheses to function calls, and does this a lot smarter than the language server right now.
* Instead of the previous naive approach we now reuse the same logic as the internal editor.
* For this to have any effect we also have to send the `insertText` field already during the completionRequest and not only during resolve.

(cherry picked from commit bbb07ff8cb)
2022-06-16 10:11:33 +02:00
Yuri Rubinsky d525d902c1 Fix `wrapf` to correct wrap values with 0.1 stepping
(cherry picked from commit 09418afbc0)
2022-06-16 10:10:48 +02:00
FireForge fec7e13b02 Allow folding in sub-inspectors in Array and Dictionary editors
(cherry picked from commit 4e469886e8)
2022-06-16 10:10:21 +02:00
smix8 96e865dfb3 Document NavigationServer API navigation agent callbacks
Document NavigationServer API navigation agent callbacks.

(cherry picked from commit 10c400ca82)
2022-06-16 10:03:47 +02:00
smix8 b0a8bcdf49 Fix crash of navigation agents callback when object is invalid
Fix crash of navigation agents callback when object is invalid.

(cherry picked from commit bc38ebe4f0)
2022-06-16 10:03:18 +02:00
Rémi Verschelde 6ecdef84cf
Merge pull request #62085 from KoBeWi/underscore_of_ruin
Fix NodePath property dragging
2022-06-16 08:30:11 +02:00
Rémi Verschelde 4e7363cac7
Merge pull request #61996 from smix8/navigation_bp_update_3.x
[3.5] Update NavigationServer backport
2022-06-16 00:17:16 +02:00
Rémi Verschelde 17e472fb9b
Merge pull request #61995 from Calinou/gles3-shader-compilation-default-asynchronous-cache
Enable asynchronous shader compilation + cache by default in GLES3
2022-06-16 00:13:43 +02:00
kobewi 728d90b649 Fix NodePath property dragging 2022-06-16 00:09:14 +02:00
Rémi Verschelde 2cad0055fa
Merge pull request #60806 from pfertyk/issue-60466-nan-in-windows-size 2022-06-15 14:55:01 +02:00
Rémi Verschelde 78fdb26a6b
Merge pull request #62068 from akien-mga/3.x-fixup-62021 2022-06-15 14:47:34 +02:00
Paweł Fertyk b3f822eaae Fix `set_window_size` crash when using NaN
Fixes #60466.
2022-06-15 13:43:41 +02:00
Rémi Verschelde 118302d01c GLES3: Fix async shader compilation after #62021
Fixes #62047.
2022-06-15 13:40:58 +02:00
Rémi Verschelde 0c5c5381d7
Merge pull request #61980 from KoBeWi/obliterate_scroll
Disable scroll when dragging at edges of TextEdit
2022-06-14 23:47:17 +02:00
kobewi 053fdb8872 Disable scroll when dragging at edges of TextEdit 2022-06-14 23:36:54 +02:00
Rémi Verschelde eda10e3a89
Merge pull request #62021 from RandomShaper/fix_signedness_mess_3.5 2022-06-14 12:33:49 +02:00
Rémi Verschelde 54a4806a06
Merge pull request #62018 from lawnjelly/fti_fix_unhiding_stale 2022-06-14 12:28:08 +02:00
Pedro J. Estébanez 1d01acb486 Fix issues with unsigned types in GL ES 3 shader class 2022-06-14 11:43:58 +02:00
lawnjelly 991687cc10 Physics Interpolation - fix stale interpolation data when unhiding
A previous optimization prevented instances being added to the interpolation lists when hidden to save processing. This caused a regression when unhiding nodes outside of the physics tick - the interpolated transforms would be stale until the next physics tick, causing a glitch.

This PR readds instances immediately to the interpolation lists when they are unhidden, preventing this glitch.
2022-06-14 10:25:23 +01:00
smix8 8bd7c6188b [3.5] Update NavigationServer backport
Backports features and bugfixes from current Godot 4.0 to 3.5 and brings functions and codebase of both version largely in sync to make tutorials more compatible and future backports easier.
2022-06-14 05:55:14 +02:00
Rémi Verschelde a0f70c5819
Merge pull request #61946 from RandomShaper/async_info_3.x
[3.5] Add INFO_SHADER_COMPILES_IN_FRAME to GL ES 3 rasterizer info
2022-06-13 21:07:34 +02:00
Rémi Verschelde 95aeb57ec2
Merge pull request #62004 from Calinou/texture-import-detect-3d-print-3.x
Print messages when textures are detected as used in 3D/normal map
2022-06-13 21:02:22 +02:00
Hugo Locurcio f702828c37
Print messages when textures are detected as used in 3D/normal map
This detection automatically changes some import options, so it's
important that users are aware of this.
2022-06-13 20:13:30 +02:00
Pedro J. Estébanez f46d7583ff Add INFO_SHADER_COMPILES_IN_FRAME to GL ES 3 render info 2022-06-13 18:53:15 +02:00
kobewi 2a7d60111f Improve description of move_to_trash()
(cherry picked from commit 1c90b066dd)
2022-06-13 17:44:27 +02:00
Hugo Locurcio 4c9dc78f19 Update name of Convert to MeshInstance2D button in MeshInstance2D doc
(cherry picked from commit 857e5a3bb0)
2022-06-13 17:44:06 +02:00
Hugo Locurcio 70d8e71b0e
Enable asynchronous shader compilation + cache by default in GLES3
This reduces stuttering when a material is displayed for the first
time, and prevents stuttering from occurring entirely after the
project is restarted when a similar situation is encountered.
2022-06-13 16:32:19 +02:00
Rémi Verschelde a77192a5bc
Merge pull request #61992 from Calinou/doc-curvetexture-3.x 2022-06-13 14:58:46 +02:00
Hugo Locurcio 87f22083af
Improve CurveTexture documentation 2022-06-13 14:06:34 +02:00
Rémi Verschelde 0d2be435ea
Merge pull request #61989 from Faless/js/3.x_threads_gdnative_export 2022-06-13 12:08:48 +02:00
Fabio Alessandrelli 65dc01bd8e [HTML5] Add GDNative+Threads build. 2022-06-13 11:46:08 +02:00
Rémi Verschelde 606ec57d2c
Merge pull request #61985 from bruvzg/win_net_share3
[Windows, 3.x] Add support for handling network share paths.
2022-06-13 09:16:13 +02:00
Rémi Verschelde 8c53dd2171
Merge pull request #61904 from bruvzg/table_line_break
[3.x] Improve RTL table fill.
2022-06-13 09:15:30 +02:00
bruvzg 64a107508a
[3.x] Improve RTL table fill. 2022-06-13 09:57:35 +03:00
bruvzg 11a7997a67 [Windows, 3.x] Add support for handling network share paths. 2022-06-13 09:24:35 +03:00
Rémi Verschelde cda6ea06f9
Merge pull request #61965 from lawnjelly/vital_updates_missing
More low priority redraw request cases
2022-06-12 12:36:04 +02:00
Rémi Verschelde 57489f4da6
Merge pull request #61964 from timothyqiu/add-focus
[3.x] Fix scene tree dock focus after using "Add Child Node" button
2022-06-12 10:38:46 +02:00
Rémi Verschelde 0267c05441
Merge pull request #61962 from timothyqiu/codeblock
[3.x] Remove extra codeblock tag from `ProximityGroup` classref
2022-06-12 08:18:30 +02:00
lawnjelly f8df04ed50 More low priority redraw request cases
Some more cases of textures etc causing continuous updates in vital updates only mode are fixed.
2022-06-12 06:44:59 +01:00
Haoyu Qiu 512b70858c Fix scene tree dock focus after using "Add Child Node" button 2022-06-12 13:03:01 +08:00
Haoyu Qiu c197e11363 Remove extra codeblock tag from ProximityGroup classref 2022-06-12 11:10:16 +08:00
Rémi Verschelde 40963cc920
Merge pull request #61940 from Calinou/editor-rename-meshinstance2d-actions
Rename "Convert to Mesh2D" to "Convert to MeshInstance2D" in the editor
2022-06-11 21:14:54 +02:00
Hugo Locurcio dccd925aff
Rename "Convert to Mesh2D" to "Convert to MeshInstance2D" in the editor
These actions create MeshInstance2D nodes, not Mesh2D resources.
2022-06-11 20:26:56 +02:00
Rémi Verschelde 5dd602de83
Merge pull request #61912 from lyuma/allow_more_than_four_weights 2022-06-11 11:21:22 +02:00
Lyuma 7d970b967e gltf: Allow more than 4 joints but warn and ignore them. 2022-06-10 18:41:14 -07:00
kobewi 4f133d2d72 Don't handle pending clicks outside scene tree
(cherry picked from commit ec6bbd486f)
2022-06-10 15:46:01 +02:00
Rémi Verschelde 0b048b6d73 SoftBody: Fix attachments property names after #61180
Fixes #61581.

(cherry picked from commit 5c3081dae2)
2022-06-10 14:42:05 +02:00
Rémi Verschelde 04c83c0e66
Merge pull request #61895 from bruvzg/macos_live_resize_fix_3 2022-06-10 14:26:18 +02:00
Rémi Verschelde 4987cd43bf
Merge pull request #61346 from AaronRecord/fix-scrollbars-initializing 2022-06-10 14:24:27 +02:00
bruvzg e75e1f3231
[macOS, 3.x] Fix unresponsive redraw during live resizing. 2022-06-10 14:11:12 +03:00