Commit graph

51079 commits

Author SHA1 Message Date
Rémi Verschelde
0927e2cffc
Merge pull request #63251 from SaracenOne/disable_data_generation_on_foreign_resources
Disable navmesh, lightmap, and VoxelGI generation on foreign data
2023-01-23 15:35:31 +01:00
Rémi Verschelde
9ae7a2554c
Merge pull request #71912 from KoBeWi/another_regression_DEAD
Fix plugins over not working
2023-01-23 15:33:20 +01:00
George Marques
80e06b29e7
GDScript: Add names for disassembling function pointers
When instructions use function pointers, it's not possible to retrieve
their original names in the disassembly. This stores the names in
vectors (in debug builds) so they can be shown.
2023-01-23 11:04:31 -03:00
kobewi
0d90b46b97 Fix plugins over not working 2023-01-23 14:19:42 +01:00
bruvzg
daad4aed62
Cleanup and unify keyboard input.
- Unify keycode values (secondary label printed on a key), remove unused hardcoded Latin-1 codes.
- Unify IME behaviour, add inline composition string display on Windows and X11.
- Add key_label (localized label printed on a key) value to the key events, and allow mapping actions to the unshifted Unicode events.
- Add support for physical keyboard (Bluetooth or Sidecar) handling on iOS.
- Add support for media key handling on macOS.

Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-01-23 15:08:12 +02:00
Rémi Verschelde
9937915ad7
Merge pull request #70548 from MewPurPur/fix-some-gradient-jank
Fix Gradient Editor bugs
2023-01-23 12:26:45 +01:00
Rémi Verschelde
d065281bc0
Merge pull request #59081 from Sauermann/fix-cursorshape-canvasitemeditor
Use get_cursor_shape for identifying the cursor shape in CanvasItemEditor
2023-01-23 12:26:35 +01:00
Rémi Verschelde
a98431d1c1
Merge pull request #71909 from bruvzg/utf16_bidi_override_fix
Fix BiDi override for the characters outside BMP (e.g., emojis).
2023-01-23 12:26:24 +01:00
VolTer
b7b4133429 Fix Gradient Editor bugs 2023-01-23 12:05:14 +01:00
bruvzg
96ed1c19dd
Fix BiDi override for the characters outside BMP (e.g., emojis). 2023-01-23 12:51:35 +02:00
Rémi Verschelde
1891d9fdf1
Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-US
Convert en_GB spelling to en_US with codespell
2023-01-23 11:08:55 +01:00
Rémi Verschelde
37205964b6
Merge pull request #71441 from KoBeWi/warp_2_scan
Improve performance of imported file scan
2023-01-23 11:07:44 +01:00
Rémi Verschelde
809bd94394
Merge pull request #71906 from reduz/simplify-polyphonic-stream-player
Simplify AudioStreamPolyphonic
2023-01-23 11:07:32 +01:00
Rémi Verschelde
528f044581
Merge pull request #71903 from Calinou/touch-emulation-project-settings-basic
Mark touch emulation project settings as basic
2023-01-23 11:07:00 +01:00
Rémi Verschelde
5b1df48c6c
Convert en_GB spelling to en_US with codespell 2023-01-23 11:02:20 +01:00
Juan Linietsky
4383b5ab1e Simplify AudioStreamPolyphonic
* Make AudioStreamPolyphonic not requre a polling thread (simpler, faster)
* Improve error reporting in AudioStreamPlayer*::get_stream_playback() error reporting to improve usability.
2023-01-23 10:47:01 +01:00
Rémi Verschelde
35c37ce4ce
Merge pull request #67847 from rburing/warn_non-uniformists
Warn against using non-uniform scale for 3D physics (in the editor and class reference)
2023-01-23 10:32:06 +01:00
Rémi Verschelde
59dce77d4f
Merge pull request #71848 from bruvzg/ios_gles
[iOS] Restore OpenGLES3 renderer support.
2023-01-23 10:24:51 +01:00
Rémi Verschelde
db23d7a47c
Merge pull request #71885 from KoBeWi/NullItemEditor
Fix handling of nulls in some editors
2023-01-23 10:24:46 +01:00
Rémi Verschelde
84c081945f
Merge pull request #71784 from PrecisionRender/fix-xbox-input
Fix Xbox Series controller detected as 2 devices
2023-01-23 10:24:41 +01:00
Rémi Verschelde
3a228ef224
Merge pull request #71900 from SaracenOne/blendshape_track_import_flag
Fix duplicating imported blendshape tracks
2023-01-23 10:24:37 +01:00
Rémi Verschelde
5726bf578d
Merge pull request #71676 from vnen/gdscript-unicode-identifiers
Add support for Unicode identifiers in GDScript and Expression
2023-01-23 10:24:33 +01:00
Rémi Verschelde
7d604535e1
Merge pull request #71828 from geowarin/geowarin/master
Add keyboard shortcut for "Open in External Program" action
2023-01-23 10:24:28 +01:00
Rémi Verschelde
19b030263d
Merge pull request #71778 from vortexofdoom/fix-dof-blur-transition
allowed negative DoF blur transition in the editor
2023-01-23 10:24:24 +01:00
Rémi Verschelde
69a981fc62
Merge pull request #71214 from SekoiaTree/remove_mesh_surface_compat
Remove compatibility code for Mesh surfaces
2023-01-23 10:24:19 +01:00
Rémi Verschelde
d40501faee
Merge pull request #71690 from Calinou/forward-mobile-fix-directionallight3d-shadow-opacity
Fix DirectionalLight3D shadow opacity on Forward Mobile rendering backend
2023-01-23 10:24:09 +01:00
Rémi Verschelde
3d8f59a387
Merge pull request #71831 from PrecisionRender/fix-incorrect-scene-editor
Use selected node type for choosing editor tab
2023-01-23 10:23:55 +01:00
Hugo Locurcio
33e9dff3de
Mark touch emulation project settings as basic
These settings are likely to be toggled often during development,
so they should be as accessible as possible.
2023-01-23 10:07:47 +01:00
kobewi
80723d2537 Fix handling of nulls in some editors 2023-01-23 09:59:48 +01:00
SaracenOne
03523572b9 Adds missing method call to set blendshape tracks as 'imported' when importing from a GLTF. 2023-01-23 07:40:06 +00:00
Bastiaan Olij
52d4a56b3b Rename getters and signals on XR nodes to be consistant with input types 2023-01-23 11:26:12 +11:00
PrecisionRender
38fb8259d0 Use selected node type for choosing editor tab
Use selected node type for choosing editor tab

Update editor/editor_node.cpp

Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-01-22 16:24:52 -06:00
George Marques
9462ae4783
GDScript: Remove function of continue for match statement
The keyword is confusing and rarely is used in the intended way. It is
removed now in favor of a future feature (pattern guards) to avoid
breaking compatibility later.
2023-01-22 18:45:24 -03:00
Hugo Locurcio
d84c9523f7
Fix DirectionalLight3D shadow opacity on Forward Mobile rendering backend 2023-01-22 22:25:15 +01:00
bitsawer
81f9529a7e Fix shader include dependency handling 2023-01-22 22:19:52 +02:00
Fredia Huya-Kouadio
da3e380240 Update the logic to calculate the screen scale on Android
Takes into account the ratio between the screen size and the default window dimensions.
2023-01-22 10:58:01 -08:00
Rémi Verschelde
eaf306e0b1
Merge pull request #71864 from KoBeWi/drag_and_fail
Fix script editor drag and drop
2023-01-22 17:54:11 +01:00
Rémi Verschelde
5068d82374
Merge pull request #71686 from YuriSizov/stylebox-min-size-but-better
Clean-up, harmonize, and improve StyleBox API
2023-01-22 17:53:04 +01:00
Rémi Verschelde
5432bad36f
Merge pull request #69619 from m4gr3d/address_android_editor_crashes_main
Address Android editor crashes
2023-01-22 17:52:31 +01:00
Rémi Verschelde
d9bac56f6f
Merge pull request #71859 from KoBeWi/nullptr.is_class()
Fix potential crash in EditorPlugin.edit()
2023-01-22 17:52:00 +01:00
Rémi Verschelde
78d45fc51c
Merge pull request #71855 from reduz/audio-stream-polyphonic
Add AudioStreamPolyphonic to simplify sound playback from code
2023-01-22 17:51:05 +01:00
kobewi
80b9d9537c Fix script editor drag and drop 2023-01-22 17:07:55 +01:00
Juan Linietsky
f18d408c08 Add AudioStreamPolyphonic to make it easier to play polyphonic sound from code
* This new audio stream allows to play multiple sounds and control them over time from code.
* It greatly simplifies tasks such as generative music (music generated from code) or audio.

This new type of stream was added with the goal of fixing audio blending in AnimationPlayer and AnimationTree, but can be used by others for their regular audio needs.

Does not fix anything currently, but should help implement #69758 properly.

Some demo code of how to use this:

```GDScript

var player = $SomeNode as AudioStreamPlayer
player.stream = AudioStreamPolyphonic.new()
var playback = player.get_stream_playback() as AudioStreamPlaybackPolyphonic
var id = playback.play_stream(preload("res://Clip1.ogg"))
await get_tree().create_timer(1).timeout
playback.set_stream_volume(id,-12) # Set volume to half after one second
await get_tree().create_timer(2).timeout
var id2 = playback.play_stream(preload("res://Clip2.ogg")) # 2 seconds later, start another clip
await get_tree().create_timer(1).timeout
playback.stop_stream(id) # 1 second later, kill the first clip
playback.set_stream_pitch_scale(id2,1.5) # Make the second clip go 50% faster

```
2023-01-22 16:22:45 +01:00
Rémi Verschelde
56fdef281e
Merge pull request #71851 from mihe/error-macros
Fix incorrect index error macros
2023-01-22 16:08:34 +01:00
Rémi Verschelde
0440b3cf0e
Merge pull request #71783 from Bartkk0/parse-check-deleted
Check if file was removed when parsing documentation
2023-01-22 16:08:05 +01:00
Rémi Verschelde
d4d01ca20a
Merge pull request #71609 from lufog/menubar-auto-translation
MenuBar add auto-translation of Menu names
2023-01-22 16:07:40 +01:00
Rémi Verschelde
84aaa1e90e
Merge pull request #71849 from EricEzaM/fix-run-specific-scene-shortcut
Fix 'run specific scene' shortcut on Windows/non-Mac
2023-01-22 16:07:14 +01:00
Rémi Verschelde
c9243c37dc
Merge pull request #71846 from Chaosus/astar_local_vector
Enchance the performance of `AStar` by using a `LocalVector`
2023-01-22 16:06:45 +01:00
kobewi
82f06542a5 Fix potential crash in EditorPlugin.edit() 2023-01-22 15:54:42 +01:00
bruvzg
1cc5524b81
[iOS] Restore OpenGLES3 renderer support. 2023-01-22 13:59:52 +02:00