Commit graph

65284 commits

Author SHA1 Message Date
Rémi Verschelde
89cf82fbde
Merge pull request #93056 from kitbdev/stop-highlighting
Fix find highlight when switching scripts
2024-06-28 11:34:46 +02:00
Rémi Verschelde
af862d072d
Merge pull request #91034 from bpseudopod/aesa-documentation
Document AudioEffectSpectrumAnalyzerInstance, clarify relationship with AudioEffectSpectrumAnalyzer
2024-06-28 11:34:38 +02:00
Pedro J. Estébanez
ec61c5064c ResourceLoader: Support polling and get-before-complete on the main thread 2024-06-28 11:25:10 +02:00
clayjohn
27b040dc61
Remove warning when project setting requests a larger global shader uniform buffer than the hardware supports.
Instead provide a better error message when the limit is exceeded and avoid crash with a small limit.
2024-06-28 10:38:18 +02:00
Danil Alexeev
68898dbcc9
GDScript: Add CONFUSABLE_CAPTURE_REASSIGNMENT warning 2024-06-28 11:12:01 +03:00
AeioMuch
9eacbf6de7 Fix clear_custom_color on invalid tree_item_inspected 2024-06-28 06:10:49 +02:00
Riteo
f27471fbd8 Wayland: minimize surface commits and limit them to the main thread
Before of this patch, as explained in the usual
commented-wall-of-text-longer-than-the-actual-patch-itself™, due to the
multithreaded nature of the Wayland thread, it was possible to commit a
surface while the renderer was doing stuff, which was _very_ wrong.

Initially the consequences of such a sin weren't obvious but, now that
explicit synchronization is becoming more and more common, we can't
commit a buffer randomly without basically guaranteeing a nasty, nasty
crash (and we should have avoided commits altogether in the first place
to ensure atomic surface updates).

We now only trigger a commit _in the main thread_ when low processor usage
mode is on _and_ if we know that we won't be rendering anything as, due to
its intermittent nature, it makes "legacy" (pre xdg_wm_base v6) frame
callback based suspension quite annoying.
2024-06-28 01:47:25 +02:00
David Snopek
1289298b5e Fix text editor stealing focus from "Find in Files" dialog on X11 2024-06-27 17:27:21 -05:00
David Snopek
06e81d9fe4 [OpenXR] Fix LOCAL_FLOOR emulation on HTC Vive XR Elite 2024-06-27 14:12:11 -05:00
Hugo Locurcio
6932630c02
Add alternative shortcut for Align Transform to View in the 3D editor
The new shortcut is Ctrl + Alt + Numpad 0 and is the one listed
in the 3D viewport's Perspective menu (since PopupMenu accelerators
display the first shortcut only). This shortcut matches Blender
and avoids conflicts with the GeForce Experience overlay, which
defaults to Ctrl + Alt + M.

Ctrl + Alt + M is still defined as an alternative default,
so that existing workflows are not impacted.
2024-06-27 20:34:28 +02:00
kit
17c8e8b2b4 Fix find result current match count 2024-06-27 14:04:40 -04:00
kobewi
bef2e62c88 Fix duplicating nodes with Array properties 2024-06-27 19:17:50 +02:00
Volkan Gezer
76b2e5b2c8 add missing punctuation to the default list 2024-06-27 17:51:21 +02:00
Silc Lizard (Tokage) Renew
c57a8114d4 Reset when disabling override pose in BoneAttachment3D 2024-06-28 00:48:26 +09:00
Rémi Verschelde
cae2f853dc
Merge pull request #93661 from passivestar/overview-label
Center the label in overview of script editor
2024-06-27 17:08:26 +02:00
Rémi Verschelde
3f4bcfeef1
Merge pull request #93607 from kitbdev/fix-text-edit-move-lines
CodeEdit: Fix move lines up/down viewport and selection issues
2024-06-27 17:08:23 +02:00
Rémi Verschelde
f662e07147
Merge pull request #92504 from ckaiser/audiostreamplayer-light-mode
Fix AudioStreamPlayer icons, improve audio resource picker styling
2024-06-27 17:08:16 +02:00
Christian Kaiser
04f6435aa8 Fix AudioStreamPlayer icons, improve audio resource picker styling 2024-06-27 10:58:56 -03:00
passivestar
1a1d8a58ca Center the label in overview of script editor 2024-06-27 16:01:35 +04:00
Martin Capitanio
10406c8685 ThorVG: Update to 0.14.0
+ Fixes the v0.13.8 svg text error issue.
+ See https://github.com/thorvg/thorvg/releases/tag/v0.14.0
2024-06-27 11:26:44 +02:00
Rémi Verschelde
7907ef835d
Merge pull request #93649 from ze2j/remove_useless_instantiation
Remove useless instantiation in `RDShaderFile::parse_versions_from_text`
2024-06-27 10:06:08 +02:00
Rémi Verschelde
7a4cdd904a
Merge pull request #93646 from dsnopek/webxr-environment-blend-mode
Fix support for environment blend modes on `WebXRInterface`
2024-06-27 10:06:05 +02:00
Rémi Verschelde
e018b17f97
Merge pull request #93639 from passivestar/rotation-gizmo
Improve viewport rotation gizmo drawing
2024-06-27 10:06:02 +02:00
Rémi Verschelde
48973aa0d1
Merge pull request #93553 from m4gr3d/update_github_android_build_config
CI: Add editor target to Android builds config
2024-06-27 10:05:59 +02:00
Rémi Verschelde
35016d2184
Merge pull request #93533 from jsjtxietian/import-dock
Update import dock when selecting resource in resource panel
2024-06-27 10:05:56 +02:00
Rémi Verschelde
51a6bc1f11
Merge pull request #91920 from dmipeck/fix-hashing-context-example
Fix hashing context example
2024-06-27 10:05:50 +02:00
ze2j
37479cfad5 Remove useless instantiation in RDShaderFile::parse_versions_from_text 2024-06-27 08:57:06 +02:00
David Snopek
2f001e6789 Fix support for environment blend modes on WebXRInterface 2024-06-26 22:02:20 -05:00
Fredia Huya-Kouadio
8026706748 Update the github Android builds config
The configuration was updated to generate:
- Godot Android Editor build
- Godot Android template build for arm32
- Godot Android template build for arm64

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-06-26 12:44:15 -07:00
passivestar
a9ef6cd418 Improve viewport rotation gizmo drawing 2024-06-26 23:33:24 +04:00
Rémi Verschelde
374807f427
Merge pull request #93633 from dsnopek/webxr-hand-tracking-api-docs
Improve WebXR API docs related to hand tracking support
2024-06-26 18:15:31 +02:00
Rémi Verschelde
d119e49902
Merge pull request #93627 from passivestar/inspector-unused-vboxes
Hide unused category vboxes in inspector
2024-06-26 18:15:24 +02:00
Rémi Verschelde
6cdd303c68
Merge pull request #93564 from Calinou/project-user-dir-prevent-trailing-periods
Prevent folder names with trailing periods from being used automatically
2024-06-26 18:15:19 +02:00
Rémi Verschelde
0364443d12
Merge pull request #93346 from RandomShaper/gds_cyc_alt
GDScript: Enhance handling of cyclic dependencies
2024-06-26 18:15:16 +02:00
Rémi Verschelde
3d8562d775
Merge pull request #89197 from AThousandShips/arr_typed_fix
[Core] Fix sharing of typed arrays from constructor
2024-06-26 18:15:09 +02:00
Pedro J. Estébanez
c1391489e3 GDScript: Enhance handling of cyclic dependencies 2024-06-26 17:44:32 +02:00
Hugo Locurcio
492787b134
Prevent folder names with trailing periods from being used automatically
Folder names ending with one or more `.` characters are not allowed
on Windows, so this would break writing logs, shader cache and other
project-specific files. Trailing periods are now stripped in this case.

On non-Windows platforms, this change still applies in the interest
of portability.
2024-06-26 17:42:47 +02:00
David Snopek
ef3fbf0091 Improve WebXR API docs related to hand tracking support 2024-06-26 08:52:10 -05:00
Rémi Verschelde
93fc9b8857
Merge pull request #93566 from Chaosus/gds_fix_enum_lookup
Fix symbol lookup for native enums
2024-06-26 15:19:31 +02:00
Rémi Verschelde
df78d0dd41
Merge pull request #92163 from adamscott/fix-new-web-export-bug
Fix web export state for Remote Debug
2024-06-26 15:19:25 +02:00
Rémi Verschelde
ba3bb44194
Merge pull request #93617 from jsjtxietian/protect-enum
Add safety check when setting several rendering effect quality
2024-06-26 14:51:25 +02:00
Rémi Verschelde
cafe7042b1
Merge pull request #93548 from Robocraft999/patch-1
Fix `AnimatedSprite2D/3D::play` using wrong end_frame
2024-06-26 14:51:22 +02:00
Rémi Verschelde
36a5960ab2
Merge pull request #87131 from KoBeWi/skyscrapper_selector_simulator
Properly change GridMap floors while selecting
2024-06-26 14:51:19 +02:00
Rémi Verschelde
783c99d5e1
Merge pull request #86467 from KoBeWi/aliens_in_my_inspector
Always call `_can_handle()` before `_parse_property()`
2024-06-26 14:51:14 +02:00
Rémi Verschelde
54dbb17273
Merge pull request #85513 from KoBeWi/that_one_weird_plugin_that_uses_no_Resources
Save external data even without scene
2024-06-26 14:51:11 +02:00
Rémi Verschelde
b0c7f45a72
Merge pull request #85228 from KoBeWi/don't_save_scene_when_saving_script_while_saving_scene
Don't insert newline while saving
2024-06-26 14:51:06 +02:00
Rémi Verschelde
869e33252d
Merge pull request #84164 from KoBeWi/slowcast_2d
Fix slow raycast editing
2024-06-26 14:51:03 +02:00
Rémi Verschelde
35683dea86
Merge pull request #79796 from KoBeWi/hack_and_slash
Add a way to force history for undoredo
2024-06-26 14:50:54 +02:00
Adam Scott
1e8e9f4b09
Fix web export state for remote debug 2024-06-26 08:37:56 -04:00
passivestar
025159f57e Hide unused category vboxes in inspector 2024-06-26 16:02:22 +04:00