Commit graph

66123 commits

Author SHA1 Message Date
Rémi Verschelde
9564c3da61
Merge pull request #92735 from pixbyte/master
Fix undo not updating spawn checkbox in replication editor
2024-08-06 22:56:28 +02:00
Dommi
aebcd699fe Fixed undo not updating spawn checkbox in replication editor
When pressing undo the value was set to the same as it was before in the ui. It was saved correctly in the config but not updated in the editor.
2024-08-06 15:50:48 +02:00
Fabio Alessandrelli
c5fa7354bb [MP] Fix relay protocol routing with negative targets
Godot supports sending messages to "all but one peer" by sending a
packet with a negative target (the negated ID of the excluded peer).

The relay protocol was incorrectly interpreting the values and relaying
the message to the wrong peers.

This issue only affected "send_bytes" since the other subsystem (RPC
and replication) "resolves" the correct IDs client-side (to match
visibility information).
2024-08-06 13:21:47 +02:00
Rémi Verschelde
4359c28fea
Merge pull request #95192 from Faless/mp/quite_relay_to_disconnected
[MP] Avoid error spam in relay protocol when clients disconnect
2024-08-06 12:32:27 +02:00
Rémi Verschelde
4577b37036
Merge pull request #95191 from bruvzg/macos_term
[macOS] Attempt to terminate process normally before using `forceTerminate`.
2024-08-06 12:32:22 +02:00
Rémi Verschelde
8ba212f188
Merge pull request #95189 from bruvzg/fix_mono_bundle
[macOS] Fix `generate_bundle` build flag for .NET builds.
2024-08-06 12:32:18 +02:00
Rémi Verschelde
b36885c8bd
Merge pull request #95186 from bruvzg/thr_load_dbl_free
[ResourceLoader] Add check to prevent double free crashes.
2024-08-06 12:32:13 +02:00
Rémi Verschelde
6a10330ceb
Merge pull request #95164 from Calinou/doc-window-popup-coordinates
Document expected coordinates in `PopupMenu.popup()`
2024-08-06 12:32:08 +02:00
Rémi Verschelde
e693ff814a
Merge pull request #95155 from bruvzg/win_pen_checks
[Windows] Reject `WM_POINTER(UP/DOWN)` messages for non pen pointer type.
2024-08-06 12:32:02 +02:00
Rémi Verschelde
c81aa6e1fc
Merge pull request #95122 from kleonc/tab_bar_clear_close_button_rect
Clear `TabBar` tab close button's rect after it's hidden
2024-08-06 12:31:57 +02:00
Rémi Verschelde
79ae9524ef
Merge pull request #95115 from rune-scape/fix-invalidated-parser
GDScript: Fix unnecessary calls to `remove_parser`
2024-08-06 12:31:53 +02:00
Rémi Verschelde
ee986b7d47
Merge pull request #95090 from timothyqiu/scene-drop
Don't drop `PackedScene` as property
2024-08-06 12:31:47 +02:00
Rémi Verschelde
20eee3edd3
Merge pull request #95083 from bruvzg/base_font_loops
[Font] Add check for cyclic base font dependencies.
2024-08-06 12:31:42 +02:00
Rémi Verschelde
f544c461f0
Merge pull request #95082 from m4gr3d/fix_display_scale_project_settings
[Android editor] Enable the display scale option in the Project manager's quick settings
2024-08-06 12:31:38 +02:00
Rémi Verschelde
ed991f890e
Merge pull request #95067 from Faless/enet/fix_dtls_disconnect
[ENet] Better handle disconnected peers in DTLS server
2024-08-06 12:31:33 +02:00
Rémi Verschelde
43d2ab280a
Merge pull request #95064 from RandomShaper/d3d12_flicker
D3D12: Avoid cases of redundant render target clears
2024-08-06 12:31:28 +02:00
Rémi Verschelde
116a457542
Merge pull request #95062 from KoBeWi/adding_random_arguments_for_good_measure
Fix project name cleared when browsing path
2024-08-06 12:31:23 +02:00
Rémi Verschelde
b27e9f0b3b
Merge pull request #95059 from Geometror/fix-graphedit-port-snapping-again
Fix GraphEdit port snapping in certain edge cases
2024-08-06 12:31:17 +02:00
Rémi Verschelde
e54ffd21e2
Merge pull request #95046 from timothyqiu/typos
Fix several typos in the documentation
2024-08-06 12:31:12 +02:00
Rémi Verschelde
d798b7a410
Merge pull request #95041 from AdamLearns/master
Clean up English in JSON documentation
2024-08-06 12:31:07 +02:00
Rémi Verschelde
cd76e36132
Merge pull request #95023 from TokageItLab/snap-anim-end
Snap current position to the edge on animation finished
2024-08-06 12:31:02 +02:00
Rémi Verschelde
2b65ff9249
Merge pull request #95009 from bruvzg/win_transp_checks
[Windows] Check if transparency is enabled in the project setting before applying DWM blur.
2024-08-06 12:30:56 +02:00
Rémi Verschelde
945f70ef34
Merge pull request #95008 from bruvzg/x11_mm_state
[X11] Use motion event button state instead of async state.
2024-08-06 12:30:52 +02:00
Rémi Verschelde
77353e72e1
Merge pull request #95004 from Calinou/doc-texture-import-premul-alpha
Document support 3D premultiplied alpha in ResourceImporterTexture
2024-08-06 12:30:47 +02:00
Rémi Verschelde
0e244fcd97
Merge pull request #94997 from erictuvesson/fix/typo
Fix typo in EditorPlugin `_forward_3d_draw_over_viewport(overlay)` method example
2024-08-06 12:30:42 +02:00
Rémi Verschelde
8c512c61ab
Merge pull request #94942 from jsjtxietian/multimwsh-custom
Mention Multimesh custom data will be compressed to half in Compatibility
2024-08-06 12:30:37 +02:00
Rémi Verschelde
6519e2ecd2
Merge pull request #94299 from TokageItLab/docs-override-loop-tree
Add a note of `loop_mode` for `custom_timeline` to the `NodeAnimation` docs
2024-08-06 12:30:29 +02:00
bruvzg
393741a7e2
[macOS] Attempt to terminate process normally before using forceTerminate. 2024-08-06 12:45:56 +03:00
Adam Damiano
c138a0bb3a
Clean up English in JSON documentation 2024-08-06 11:21:45 +02:00
bruvzg
1f53c71df5
[macOS] Fix generate_bundle build flag for .NET builds. 2024-08-06 10:55:24 +03:00
Fabio Alessandrelli
531c72f30d [MP] Avoid error spam in relay protocol when clients disconnect
When multiple clients are connected, and the server is using the relay
sub-protocol, it might happen that a client disconnects while a packet
sent to it from another peer is still in transit.

In that case, when the packet reaches the server for relaying, it used
to generate an error (as the destination client did no longer exists).

This commit changes check to suppress the error message while still
skipping the packet.
2024-08-06 09:51:28 +02:00
bruvzg
f5bb14dceb
[ResourceLoader] Add check to prevent double free crashes. 2024-08-06 08:31:03 +03:00
Hugo Locurcio
2ed679eb87
Document expected coordinates in PopupMenu.popup()
- Improve documentation related to embedded subwindows and single-window mode.
- Add `minsize` keyword aliases for `popup_centered_clamped()` methods
  to ease migration to Godot 4.x (this was Godot 3.x terminology).
2024-08-05 16:45:33 +02:00
kobewi
30da21f073 Fix project name cleared when browsing path 2024-08-05 14:27:37 +02:00
jsjtxietian
7dab1a8215 Mention Multimesh custom data will be compressed to half in Compatibility 2024-08-05 12:27:59 +08:00
bruvzg
e5efde9481
[Windows] Reject WM_POINTER(UP/DOWN) messages for non pen pointer type. 2024-08-04 20:07:14 +03:00
Hugo Locurcio
ab6b00d102
Expand columns in the audio interactive transition editor
This prevents columns from being unusably narrow,
especially on hiDPI displays.
2024-08-04 17:24:31 +02:00
kleonc
d1740e6cbf Clear TabBar tab close button's rect after it's hidden 2024-08-04 11:59:37 +02:00
rune-scape
e680369d5b GDScript: Fix too many calls to 'remove_parser'
+fix excessive memory allocations when 'load'ing many dependant scripts
+fix excessive calls to vformat
2024-08-03 20:52:44 -07:00
Haoyu Qiu
8b3400e634 Don't drop PackedScene as property 2024-08-03 14:43:24 +08:00
Fredia Huya-Kouadio
fb42b9ce65 Fix issue with import projects for the Android editor 2024-08-02 14:49:25 -07:00
bruvzg
5c8a8c57be
[Font] Add check for cyclic base font dependencies. 2024-08-03 00:00:11 +03:00
Hilderin
769424388e Fix crash on reimport scene with animations 2024-08-02 16:50:22 -04:00
Fredia Huya-Kouadio
eaf85e6582 Enable the display scale option in the Project manager's quick settings dialog 2024-08-02 12:58:06 -07:00
Pedro J. Estébanez
33bd994087 D3D12: Avoid crash on exit 2024-08-02 18:18:10 +02:00
Fabio Alessandrelli
764b7abe82 [ENet] Better handle disconnected peers in DTLS server
The ENetDTLSServer socket implementation should avoid reporting errors
during send and receive operations, unless the socket is effectively no
longer usable (and thus ENet should close it).
2024-08-02 16:07:37 +02:00
Pedro J. Estébanez
8cf2903c7f D3D12: Avoid cases of redundant render target clears 2024-08-02 14:26:17 +02:00
Hendrik Brucker
de7ce9a85f Reduce size changes of visual shader nodes when connecting/disconnecting
- plus small internal rename
2024-08-02 13:26:49 +02:00
Hendrik Brucker
1f0eddca70 Fix GraphEdit port snapping in certain edge cases 2024-08-02 12:38:53 +02:00
Haoyu Qiu
7cf9ed5f65 Fix several typos in the documentation 2024-08-02 08:42:20 +08:00