Commit Graph

66151 Commits

Author SHA1 Message Date
Rémi Verschelde 33fe10c065
Merge pull request #95245 from KoBeWi/regression_flood
Initialize project name when importing project
2024-08-07 13:49:06 +02:00
kobewi 9a8ba93963 Initialize project name when importing project 2024-08-07 13:22:55 +02:00
Rémi Verschelde 1e8bfdcd4f
Merge pull request #95239 from AThousandShips/skeleton_internal_fix
Make `Skeleton3D` bone simulator an internal child
2024-08-07 12:08:12 +02:00
Rémi Verschelde 7cf8e5ef2b
Merge pull request #95235 from bruvzg/macos_opengl_load
[macOS] Load OpenGL.framework by path to avoid issues with non-Latin executable names.
2024-08-07 12:08:07 +02:00
Rémi Verschelde 17f3d351af
Merge pull request #95233 from Faless/ws/fix_set_no_delay_win
[WS] Fix `set_no_delay` on Windows
2024-08-07 12:08:02 +02:00
Rémi Verschelde 5e7592a342
Merge pull request #95232 from bruvzg/popup_time_up
[PopupMenu] Increase mouse button release timeout and reset it from `post_popup`.
2024-08-07 12:07:57 +02:00
Rémi Verschelde 031b71f5bc
Merge pull request #95103 from jamie-pate/fix_89119
Fix LightmapGI causes crash when using --headless
2024-08-07 12:07:53 +02:00
Rémi Verschelde 1260bfb39d
Merge pull request #95069 from Calinou/tilemap-point-to-tilemaplayer-conversion
Document converting a TileMap node to TileMapLayer using the editor
2024-08-07 12:07:42 +02:00
A Thousand Ships 602a348ab1
Make `Skeleton3D` bone simulator an internal child 2024-08-07 11:38:16 +02:00
Jamie Pate f8c99efc3b
Fix LightmapGI causes crash when using --headless
Fixes #89119

Add dummy LightmapInstance and Lightmap resources for headless rendering

Prevents the RenderingServer from crashing when it accesses
lightmap_instance->base_data
2024-08-07 11:38:05 +02:00
Hugo Locurcio 5bc4b49f0b
Document converting a TileMap node to TileMapLayer using the editor 2024-08-07 11:15:29 +02:00
bruvzg 2bd21b588e
[macOS] Load OpenGL.framework by path to avoid issues with non-Latin executable names. 2024-08-07 11:57:27 +03:00
Fabio Alessandrelli 7f610a2c6e [WS] Fix set_no_delay on Windows
Windows socket implementation is, as usual, broken in many ways.

This includes `setsockopt` failing to set `TCP_NODELAY` if the socket is
still in a connecting state.

This also means we need to keep polling the IP resolver until the socket
reaches the CONNECTED state (so it can set the TCP_NODELAY after the
connection is successful).
2024-08-07 09:47:00 +02:00
bruvzg 460b538746
[PopupMenu] Increase mouse button release timeout and reset it from `post_popup`. 2024-08-07 10:22:12 +03:00
Hilderin 7934e73d78 Fix performance issue reimport file reload scene 2024-08-06 22:29:04 -04:00
Rémi Verschelde eabeafd8c3
Merge pull request #95086 from m4gr3d/fix_import_button_not_showing_directories
[Android editor] Fix issue with importing projects
2024-08-06 23:59:20 +02:00
Rémi Verschelde 3158bbdb6d
Merge pull request #95084 from Hilderin/fix-crash-reimport-scene-with-animations
Fix crash on reimport scene with animations
2024-08-06 23:15:52 +02:00
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 661cf1f351
Fix LightmapGI not taking environment sky rotation into account when baking
The sky rotation now affects the baked environment lighting as it should,
making it match how real-time ambient light rendering works.

Co-authored-by: Per Melin <git@melin.net>
2024-08-05 17:54:11 +02:00