Commit graph

54848 commits

Author SHA1 Message Date
Rémi Verschelde
8f575d2991
Merge pull request #78120 from RedworkDE/msvc-icf
MSVC: Disable ICF (Identical COMDAT Folding) for `optimize=speed_trace`
2023-06-12 11:56:44 +02:00
Rémi Verschelde
686d3efa39
Merge pull request #78112 from Faless/mp/4.x_fix_delta_crash
[MP] Fix crash when sending multiple delta variants.
2023-06-12 11:56:21 +02:00
Rémi Verschelde
9fca498647
Merge pull request #78110 from Sauermann/fix-nofocus-focus
Fix Tooltip getting removed instantly in embedded Window
2023-06-12 11:55:58 +02:00
Rémi Verschelde
f016852c9f
Merge pull request #78096 from hakro/fix-refresh-fs-on-gltf-export
Refresh the filesystem tab when exporting a new GLTF file
2023-06-12 11:41:04 +02:00
Rémi Verschelde
d4951ead3a
Merge pull request #78093 from samar-01/fix-77944
Changed error tree initialization to allow reselection
2023-06-12 11:40:41 +02:00
Rémi Verschelde
7db29c04cd
Merge pull request #78057 from KoBeWi/PR_snatcher_strikes_back
Fix moving directories in filesystem
2023-06-12 11:40:18 +02:00
Rémi Verschelde
9fdce6635b
Merge pull request #77880 from AThousandShips/get_node_fix
Use `get_node_or_null` when null checks are present
2023-06-12 11:39:54 +02:00
Rémi Verschelde
bcbc2fb087
Merge pull request #77863 from dinoplane/alien-color-changes
Use cached hue for color picker when saturation is 0
2023-06-12 11:39:31 +02:00
Rémi Verschelde
26e5a98306
Merge pull request #77770 from jpcerrone/fix_minimize_missing
Fix minimize button missing in non-resizable projects
2023-06-12 11:39:08 +02:00
Rémi Verschelde
91e2859cd3
Merge pull request #77748 from DevanOBoyle/fix/ignore_false_button_error
Skip error messages for buttons that don't exist
2023-06-12 11:38:43 +02:00
Rémi Verschelde
5555051ee3
Merge pull request #67732 from aaronfranke/variant-enum-ref
Don't use a const reference for the enum constructor in Variant
2023-06-12 11:38:19 +02:00
dinoplane
a374c7d519
Use cached hue for color picker when saturation is 0
Fixes #76968.
2023-06-12 10:59:33 +02:00
Devan OBoyle
ed02d515e0 Skip error messages for buttons that don't exist 2023-06-11 21:25:29 -07:00
Fredia Huya-Kouadio
dcd31a25b4
Merge pull request #78083 from m4gr3d/fix_multitouch_detection_spatial_viewport_main
Fix spatial viewport multitouch detection support
2023-06-11 18:08:59 -07:00
Aaron Franke
5654d40367
Don't use a const reference for the enum constructor in Variant 2023-06-11 15:13:05 -05:00
RedworkDE
e2aee1a351 MSVC: Disable ICF for optimize=speed_trace 2023-06-11 18:08:56 +02:00
Fabio Alessandrelli
45456f89a2 [MP] Fix crash when sending multiple delta variants. 2023-06-11 13:43:49 +02:00
Markus Sauermann
9d40f99290 Fix Tooltip getting removed instantly in embedded Window
Tooltips are unfocusable Windows. This case was not handled correctly in
`Viewport::_sub_window_register`.
2023-06-11 12:22:59 +02:00
samar-01
d9e64d7001 Changed error tree initialization to allow reselection 2023-06-10 22:47:16 -04:00
Hakim
1fb1dd3248 Refresh the filesystem tab when exporting a new GLTF file 2023-06-10 23:04:20 +02:00
Fredia Huya-Kouadio
2c050cc17e Fix spatial viewport multitouch detection support
Regression introduced by https://github.com/godotengine/godot/pull/77498
2023-06-10 08:47:24 -07:00
Ninni Pipping
0c16082e1e Use get_node_or_null when null checks are present
Avoids duplicate or unnecessary errors
2023-06-10 13:22:56 +02:00
Rémi Verschelde
37d1dfef9d
Merge pull request #78000 from RandomShaper/let_users_mess_up
Let user scripts disable thread safety checks
2023-06-10 12:12:13 +02:00
Rémi Verschelde
65969dd51a
Merge pull request #77945 from AThousandShips/null_check
Use NULL instead of COND checks when appropriate
2023-06-10 12:11:48 +02:00
Rémi Verschelde
fe0ee24533
Merge pull request #77779 from KoBeWi/emit_changed()
Use `emit_changed()` consistently
2023-06-10 12:11:25 +02:00
Rémi Verschelde
20bf10d15b
Merge pull request #77714 from smix8/navmap_error_msgs_4.x
Improve navigation map synchronisation error msgs
2023-06-10 12:11:00 +02:00
Rémi Verschelde
c3a45e771b
Merge pull request #77699 from KoBeWi/an_indestructible_ratio_that_we_all_deserve
Preserve vector ratio when dragging through 0
2023-06-10 12:10:30 +02:00
Ninni Pipping
dcd2b883eb Use NULL instead of COND checks when appropriate
Restricted to scene
2023-06-10 08:56:30 +02:00
Rémi Verschelde
9723077f4f
Merge pull request #77105 from aaronfranke/s3tc_bptc_and_etc2_astc
Enable S3TC_BPTC but not ETC2_ASTC by default
2023-06-10 01:04:18 +02:00
Rémi Verschelde
504acb9a15
Merge pull request #78056 from RedworkDE/gdextension-breaking-changes-update-2
Update list of known breaking changes compared to 4.0-stable (2)
2023-06-09 22:25:06 +02:00
Aaron Franke
944fbce347
Enable S3TC_BPTC but not ETC2_ASTC by default 2023-06-09 11:38:29 -05:00
kobewi
40d1791721 Fix moving directories in filesystem
Co-authored-by: Samuele Panzeri <samuele.panzeri@gmail.com>
2023-06-09 18:33:05 +02:00
Pedro J. Estébanez
2b001db76e Let user scripts disable thread safety checks 2023-06-09 18:24:01 +02:00
RedworkDE
dce397a428 Update list of known breaking changes compared to 4.0-stable (2) 2023-06-09 18:02:52 +02:00
Rémi Verschelde
d3651ea455
Merge pull request #77834 from KoBeWi/I.M.G
Fix Image -> Texture2D inspector auto-conversion
2023-06-09 15:32:04 +02:00
Rémi Verschelde
0e0758c5cd
Merge pull request #75261 from AThousandShips/wav_trim
Fix trim when importing WAV
2023-06-09 15:31:15 +02:00
Rémi Verschelde
a08aa9627c
Merge pull request #75226 from AThousandShips/file_dialog_default
Do not use editor setting for FileDialog hidden files
2023-06-09 15:30:48 +02:00
Rémi Verschelde
a3a8d3463e
Merge pull request #74948 from AThousandShips/animation_key
Fix type check in AnimationTrackKeyEdit for methods
2023-06-09 15:30:16 +02:00
Rémi Verschelde
a5de7e3820
Merge pull request #78046 from Calinou/editor-capitalization-add-textfile
Add TextFile to editor property capitalizations
2023-06-09 15:11:29 +02:00
Rémi Verschelde
859b02e78d
Merge pull request #78043 from mrTag/xbox_elite_wireless_xinput
Added a few device GUIDs to is_xinput_device fixing controller problems
2023-06-09 15:11:06 +02:00
Rémi Verschelde
8acf6b41a4
Merge pull request #77209 from Rindbee/ViewportTexture-not-change-RID
Don't change `RID` when changing `viewport_path` in `ViewportTexture`
2023-06-09 15:10:39 +02:00
Dominik
19ce63d875 Added a few additional GUIDs to list of hardcoded IDs in is_xinput_device 2023-06-09 15:02:19 +02:00
Hugo Locurcio
695c69232e
Add TextFile to editor property capitalizations
This is used in the TextFile Extensions editor setting.
2023-06-09 14:27:46 +02:00
Rindbee
7532b2d259 Don't change RID when changing viewport_path in ViewportTexture
When changing `viewport_path`, the `proxy`'s target is changed to a new placeholder.

Add a flag `vp_changed` to prevent calling `setup_local_to_scene` (mainly called by toggling `resource_local_to_scene`) when the target viewport has not changed.
2023-06-09 19:50:26 +08:00
Rémi Verschelde
300748e52c
Merge pull request #78044 from RandomShaper/fix_node_prio_ignored
Fix node idle process priority being ignored
2023-06-09 13:45:15 +02:00
Rémi Verschelde
b6bb244aad
Merge pull request #78042 from timothyqiu/phantom
Fix heap-use-after-free when editing project tags
2023-06-09 13:44:51 +02:00
Rémi Verschelde
6db49aed65
Merge pull request #78040 from timothyqiu/project-manager
Disable auto translate for some controls in Project Manager
2023-06-09 13:44:28 +02:00
Rémi Verschelde
2a8e83ccad
Merge pull request #78017 from Sauermann/fix-physics-passive-hovering
Fix passive mouse hovering for physics
2023-06-09 13:44:05 +02:00
Pedro J. Estébanez
8bbc713ebf Fix node idle process priority being ignored 2023-06-09 13:05:07 +02:00
Markus Sauermann
543fdc1490 Fix passive mouse hovering for physics
Currently mouse hovering doesn't update the state, when collision objects
or the camera move.
This PR fixes this problem by taking the mouse position from the viewport
and not from a nonexistent previous event.

Since previous events could potentially be a long time ago, their
modifier-key state might be outdated. This PR fetches the current
status of modifier-keys from `Input`.

These changes allow the removal of some class-variables and making
additional simplifications.
2023-06-09 12:51:10 +02:00