Commit Graph

52394 Commits

Author SHA1 Message Date
ocean (they/them) 94dfac8da7 Add return type for GDScript getters 2023-02-15 17:54:38 -05:00
Rémi Verschelde aa6ec76317
Merge pull request #73332 from clayjohn/GL-h2f-branch
Avoid branch in half2float in gl_compatibility renderer
2023-02-15 22:46:47 +01:00
Rémi Verschelde 2874961309
Merge pull request #73343 from RandomShaper/labels_are_evil
Make label sizing algorithm more robust
2023-02-15 22:34:21 +01:00
Raul Santos d57cb460e2
C#: Open the solution directory when using VSCode
The solution directory used to be the same as the project
directory (`res://`). We now allow specifying a different
path for the solution and the other external editors already
use that (which seems more convenient for multi-project
scenarios).
2023-02-15 20:13:40 +01:00
kobewi 7aa3651e2b Fold resources when non-main inspector exits tree 2023-02-15 18:20:55 +01:00
Pedro J. Estébanez 4f7f1ef60b Make label sizing algorithm more robust 2023-02-15 18:00:29 +01:00
kobewi f579c0a79f Fix Save All trying to save empty scene paths 2023-02-15 17:29:52 +01:00
Yuri Sizov f2aae8fa5c
Merge pull request #73349 from dalexeev/fix-tab-bar-redraw
Fix `TabBar` not redrawing on locale change
2023-02-15 18:23:25 +03:00
SaracenOne 919df3ac0e Make animation length control respect read-only rules. 2023-02-15 15:13:50 +00:00
Haoyu Qiu ccc3bdebb3 Add missing i18n in tiles editor 2023-02-15 23:08:03 +08:00
Rémi Verschelde 840675ee07
EditorProperty: Fix missing increment buttons for integers
Fixes #73192.
2023-02-15 15:26:46 +01:00
Rémi Verschelde 5b6c9c66a4
Android: Default Min SDK to 24 for Vulkan mobile
Users can still go down to 21 when using GL Compatibility.
This makes the default behavior match the default renderer, and thus avoids
a warning in the out of the box experience.

Also mark texture compression settings as basic, since out of the box users
who want to export to Android will need to enable ETC2/ASTC manually.
2023-02-15 14:32:54 +01:00
Danil Alexeev 1cdf3398a0
Fix `TabBar` not redrawing on locale change 2023-02-15 14:51:31 +03:00
SaracenOne 6696a0790c Fixes revert button on exported node properties on inherited nodes. 2023-02-15 11:40:00 +00:00
Yuri Sizov d2b1474da7
Merge pull request #73293 from RedMser/rich-text-label-fixes
RichTextLabel: Unexpose internal ItemType enum, improve `push_meta` docs
2023-02-15 12:58:23 +03:00
Rémi Verschelde 1f6a5426e2
Merge pull request #73345 from TokageItLab/gltfimport
Fix gltf import generate_scene() option
2023-02-15 09:53:22 +01:00
Rémi Verschelde 47a8ee8814
Merge pull request #73268 from bruvzg/key_mod
[InputEventKey] Avoid setting both key and modifier to the same value.
2023-02-15 09:52:47 +01:00
Rémi Verschelde 0ddbd9bd2d
Merge pull request #73344 from MewPurPur/yeet-empty-line-error-spam
Fix autocomplete persisting at the beginning of a line and throwing errors
2023-02-15 09:52:22 +01:00
Rémi Verschelde 088d227812
Merge pull request #73340 from TokageItLab/diamond-audio
Fix display for no-length audio stream keys
2023-02-15 09:51:58 +01:00
Rémi Verschelde 69becc8369
Merge pull request #73318 from timothyqiu/locale-list
Fix editor language dropdown incomplete in some locales
2023-02-15 09:51:01 +01:00
Rémi Verschelde 174925e55c
Merge pull request #73262 from chutchinson/bug/73201-immediate-mesh-create-outline-crash
Prevent crash in ImmediateMesh.create_outline
2023-02-15 09:50:37 +01:00
Rémi Verschelde 204be35fc1
Merge pull request #73322 from fire/basisu-compress-black
For basisu avoid inserting to the image array twice.
2023-02-15 09:50:12 +01:00
Rémi Verschelde d9ca0845d9
Merge pull request #73308 from smix8/unbind_navigationserver_process_4.x
Unbind NavigationServer3D.process()
2023-02-15 09:49:48 +01:00
Rémi Verschelde eff6508d5a
Merge pull request #73300 from clayjohn/GL-clear_window
Clear Window before blitting Viewport in gl_compatibility renderer
2023-02-15 09:49:24 +01:00
Travis Veralrud 10be2c343f
iOS: Fix memory leak on touch input
Replace incomplete iOS gesture with touch implementation.

Fixes #66422.
2023-02-15 09:45:38 +01:00
Silc Renew 4970c27ff5 Fix gltf import generate_scene() option 2023-02-15 17:43:34 +09:00
Rémi Verschelde 22a4927a44
Merge pull request #73292 from dalexeev/gds-fix-export-enum-def-val
GDScript: Fix default value of exported enum variable
2023-02-15 09:42:37 +01:00
VolTer d16df33021 Fix autocomplete persisting at the beginning of a line 2023-02-15 09:24:13 +01:00
Silc Renew d5e662af73 Fix display for no-length audio stream keys 2023-02-15 17:00:31 +09:00
clayjohn 58bad55d42 Avoid branch in half2float in gl_compatibility renderer 2023-02-14 20:31:36 -08:00
Chris Hutchinson d842d215df Prevent crash in ImmediateMesh.create_outline by ensuring
that when no indices are specified, the number of vertices is
at least a factor of 3. Fixes #73201
2023-02-14 22:42:07 -05:00
K. S. Ernest (iFire) Lee 28a340bf3b For basisu avoid inserting to the image array twice.
Basisu images were getting referenced incorrectly like set black or set as not transparent.
2023-02-14 17:22:36 -08:00
Haoyu Qiu 0edd46e3fc Fix editor language dropdown incomplete in some locales 2023-02-15 08:59:11 +08:00
smix8 d87f124768 Add NavigationLink helper functions for global positions
Adds helper functions to set the links start and end position with global positions or get them as global positions.

Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
2023-02-14 21:56:58 +01:00
smix8 f1026450bf Unbind NavigationServer3D.process()
Unbinds NavigationServer3D.process().
2023-02-14 21:21:36 +01:00
clayjohn 081b31d200 Clear Window before blitting Viewport in gl_compatibility renderer 2023-02-14 10:30:02 -08:00
RedMser 22dd621cf9 RichTextLabel fixes
- Unexpose ItemType enum, since it is not used in public API.
- Fix documentation for meta tag, since it has no BBCode equivalent.
2023-02-14 17:20:05 +01:00
Danil Alexeev 8d3e682f52
GDScript: Fix default value of exported enum variable 2023-02-14 18:07:50 +03:00
Dmitrii Maganov df6aae2eca GDScript: Fix missing unsafety mark for binary op with weak variables 2023-02-14 17:01:21 +02:00
Rémi Verschelde 8c7b98d452
Merge pull request #73286 from RedworkDE/export-format-bptc
Fix `texture_format/bptc` export option
2023-02-14 15:58:15 +01:00
Rémi Verschelde 93d1cfe525
Merge pull request #73253 from Mickeon/doc-stringname-oops
Add missing documentation for String & StringName
2023-02-14 15:57:47 +01:00
RedworkDE 1fb2b662e1 Fix `texture_format/bptc` export option 2023-02-14 13:51:42 +01:00
Rémi Verschelde 830eff64a7
Merge pull request #68027 from ktxyz/window-on-top
Update sub_windows order with respect to FLAG_ALWAYS_ON_TOP
2023-02-14 13:40:24 +01:00
Rémi Verschelde f9b043aad7
Merge pull request #73281 from Mickeon/doc-misc-oops
Slightly tweak `@GlobalScope` & `GDScript`'s documentation
2023-02-14 13:37:43 +01:00
Rémi Verschelde c132636155
Merge pull request #68179 from MarianoGnu/prevent-lower-capacity-error
Avoid pushing an error because reserve is decreasing the default HashMap capacity
2023-02-14 13:37:20 +01:00
Rémi Verschelde 56d78c32f7
Merge pull request #68558 from dzil123/remove_duplicate_wireframe
Node3DEditorViewport - Remove duplicate wireframe check and cleanup
2023-02-14 13:36:52 +01:00
Rémi Verschelde 34b8f42118
Merge pull request #73278 from ttencate/fix/issue_70984
Some fixes for initial window position and size
2023-02-14 13:36:25 +01:00
Rémi Verschelde a1986729a5
Merge pull request #73277 from RandomShaper/fix_pck_errors
Reword misleading error messages in PCK export
2023-02-14 13:35:27 +01:00
Micky 436bbfebe2 Tweak `@GlobalScope` & `GDScript`'s documentation 2023-02-14 13:26:18 +01:00
Fabio Alessandrelli 02dcf40162
Merge pull request #73216 from baptr/multiplayer
Fix multiplayer replication crash in on_sync_receive.
2023-02-14 13:18:19 +01:00