Commit graph

55060 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
a951a14b16 Fix issue causing the last edited project to open while switching to another one.
Fixes https://github.com/godotengine/godot/issues/76562
2023-06-11 22:29:35 -07: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
kobewi
366c9678ca Fix some invalid plugin edit calls 2023-06-11 22:15:54 +02:00
Aaron Franke
5654d40367
Don't use a const reference for the enum constructor in Variant 2023-06-11 15:13:05 -05:00
kobewi
0a4d0506d1 Fix problems reloading MeshLibrary 2023-06-11 19:42:24 +02: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
Simon Barkehanai
4ecad8dea3 Fix infinite loop on EOF in the command line debugger
When using the command line debugger (godot -d) on Unix systems, when
entering an EOF (ctrl+D), the debugger enters an infinite loop.

Adding a check for EOF in the debugger loop exits the debugger when EOF
is entered.

Fixes #50170.
2023-06-11 04:20:22 -07: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
MewPurPur
e62c966f31 Add AudioStreamPolyphonic icon 2023-06-11 01:53:33 +02:00
Alex Drozd
d053536b3b removing assert statement from the project converter 2023-06-10 23:33:11 +02:00
Hakim
1fb1dd3248 Refresh the filesystem tab when exporting a new GLTF file 2023-06-10 23:04:20 +02:00
kobewi
968c5f6247 Preserve selection when focusing SpinBox 2023-06-10 21:29:24 +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
lawnjelly
a7263d32fb SCU build - make paths relative to project folder
Making paths relative to the project folder rather than the SCU directory helps make stack traces more readable.
2023-06-09 20:30:03 +01:00
David Snopek
36f4b99638 Fix wrapping Object's in GDExtension that aren't exposed 2023-06-09 13:41:57 -05: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
bruvzg
6eaff227ec
Fix "Resource file not found" error on editor start. 2023-06-09 19:04:50 +03: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
Haoyu Qiu
fade92e4a8 Fix heap-use-after-free when editing project tags 2023-06-09 18:34:07 +08:00
Haoyu Qiu
59f60dc4e5 Disable auto translate for some controls in Project Manager 2023-06-09 18:18:53 +08:00