Commit Graph

65207 Commits

Author SHA1 Message Date
Aitor Guevara
b8edc64379 [Windows] Disable G-SYNC in windowed mode
G-SYNC (NVIDIA's VRR) is known to be buggy on windowed mode in Windows.
While the driver only enables G-SYNC for full screen mode by default,
users can toggle it on for windowed mode too, resulting in unstable
refresh rates during Editor usage.
This patch extends Godot's NVIDIA profile to force the default full
screen mode only G-SYNC with Godot.
2024-06-29 13:40:15 +02:00
Rémi Verschelde
811ce36c60
Merge pull request #93675 from Calinou/3d-editor-align-transform-with-view-add-alternative-shortcut
Add alternative shortcut for Align Transform to View in the 3D editor
2024-06-28 15:55:14 +02:00
Rémi Verschelde
d71c85ce5f
Merge pull request #92016 from KoBeWi/pick_layers_like_a_boss
Allow selecting TileMapLayers by clicking them
2024-06-28 15:55:10 +02:00
Rémi Verschelde
47776856d6
Merge pull request #93699 from dalexeev/gds-fix-false-positive-capture-warnings
GDScript: Fix false positive `CONFUSABLE_CAPTURE_REASSIGNMENT` warnings
2024-06-28 15:55:05 +02:00
Rémi Verschelde
52d7ff86f7
Merge pull request #93696 from TokageItLab/default-angle-linear
Revert the default InterpolationType with angle property to Linear
2024-06-28 15:55:00 +02:00
Danil Alexeev
d15ed0bcbb
GDScript: Fix false positive CONFUSABLE_CAPTURE_REASSIGNMENT warnings 2024-06-28 16:41:32 +03:00
Rémi Verschelde
e052a53bb6
Merge pull request #93695 from RandomShaper/res_load_main_th
`ResourceLoader`: Support polling and get-before-complete on the main thread
2024-06-28 14:43:01 +02:00
Rémi Verschelde
a365cf59c8
Merge pull request #93635 from Chaosus/shader_fix_vec4_uniform
Use `PackedVector4Array` instead of float array for vec4 array uniform
2024-06-28 14:42:57 +02:00
Rémi Verschelde
3cefe898b1
Merge pull request #93589 from mhilbrunner/fix-windows-vs-arch-detection
Windows: Fix arch detection via `VCTOOLSINSTALLDIR` if not first in `PATH`
2024-06-28 14:42:54 +02:00
Rémi Verschelde
6f8b90e412
Merge pull request #93032 from RandomShaper/wtp_antilock
GDScript: Avoid deadlock possibility in multi-threaded load
2024-06-28 14:42:48 +02:00
Rémi Verschelde
a31525c4da
Merge pull request #92609 from rune-scape/rune-relax-gds-guards
GDScript: Partially allow member lookup on invalid scripts
2024-06-28 14:42:44 +02:00
Rémi Verschelde
d4b7ede882
Merge pull request #92303 from Hilderin/fix-synchronization-global-class-name
Fix synchronization of global class name
2024-06-28 14:42:37 +02:00
Silc Lizard (Tokage) Renew
dde616f01c Revert the default InterpolationType with angle property to Linear 2024-06-28 21:22:11 +09:00
Rémi Verschelde
279a6075ae
Merge pull request #93576 from AeioMuch/fix_invalid_clear_custom_color
Fix clear custom color on invalid `tree_item_inspected` causing `Index p_column = 0 is out of bounds (cells.size() = 0).` error message
2024-06-28 13:58:03 +02:00
Rémi Verschelde
ac9181c666
Merge pull request #93682 from dsnopek/fix-text-editor-find-in-files-focus-bug
Fix text editor stealing focus from "Find in Files" dialog on X11
2024-06-28 12:37:52 +02:00
Yuri Rubinsky
72c7e51905 Use PackedVector4Array instead of float array for vec4 array uniform 2024-06-28 13:34:43 +03:00
Rémi Verschelde
90bd2c2d0d
Merge pull request #93691 from dalexeev/gds-confusable-capture-reassignment
GDScript: Add `CONFUSABLE_CAPTURE_REASSIGNMENT` warning
2024-06-28 11:35:27 +02:00
Rémi Verschelde
7035aa1a48
Merge pull request #93684 from Riteo/explicitly-catastrophic
Wayland: minimize surface commits and limit them to the main thread
2024-06-28 11:35:24 +02:00
Rémi Verschelde
33053df293
Merge pull request #93678 from dsnopek/htc-xr-elite-local-floor
[OpenXR] Fix `LOCAL_FLOOR` emulation on HTC Vive XR Elite
2024-06-28 11:35:21 +02:00
Rémi Verschelde
7e644fb6a1
Merge pull request #93674 from kitbdev/fix-find-result-count
Fix find result current match count issues
2024-06-28 11:35:17 +02:00
Rémi Verschelde
17a0a080e7
Merge pull request #93672 from KoBeWi/duplicarray
Fix duplicating nodes with Array properties
2024-06-28 11:35:14 +02:00
Rémi Verschelde
a647789c5b
Merge pull request #93656 from vgezer/fixmissingsep
Add missing punctuation to the default TextEdit word separators
2024-06-28 11:35:11 +02:00
Rémi Verschelde
af9bca9af2
Merge pull request #93655 from capnm/240627_tvg_v0.14.0
ThorVG: Update to 0.14.0
2024-06-28 11:35:08 +02:00
Rémi Verschelde
184a973218
Merge pull request #93645 from clayjohn/shader_global_warning
Remove warning when project setting requests a larger global shader uniform buffer than the hardware supports
2024-06-28 11:35:05 +02:00
Rémi Verschelde
04d75dcfc2
Merge pull request #93609 from passivestar/tileset-prop-popup-bg
Fix TileSet property painter popup showing clear color
2024-06-28 11:35:02 +02:00
Rémi Verschelde
5bd25a2372
Merge pull request #93506 from BastiaanOlij/fix_import_rigidbody
Fix default collision shape on imported rigidbody
2024-06-28 11:34:59 +02:00
Rémi Verschelde
11db60e9c5
Merge pull request #93482 from TokageItLab/reset-attachment
Reset when disabling override pose in BoneAttachment3D
2024-06-28 11:34:55 +02:00
Rémi Verschelde
eeef96b144
Merge pull request #93408 from CookieBadger/animation-track-key-inspector-fix
Fix displaying selected Bezier animation keys in inspector
2024-06-28 11:34:52 +02:00
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