Commit Graph

66153 Commits

Author SHA1 Message Date
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
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
Silc Lizard (Tokage) Renew
8323c3891d Snap current position to the edge on animation finished 2024-08-01 23:57:47 +09:00
Silc Lizard (Tokage) Renew
dd32e2d331 Add a note of loop_mode for custom_timeline to the NodeAnimation docs 2024-08-01 18:52:32 +09:00
bruvzg
27474c9563
[Windows] Check if transparency is enabled in the project setting before applying DWM blur. 2024-08-01 10:30:46 +03:00
bruvzg
99b0100a06
[X11] Use motion event button state instead of async state. 2024-08-01 10:07:07 +03:00
Hugo Locurcio
e15a62e42c
Document support 3D premultiplied alpha in ResourceImporterTexture
This is supported since Godot 4.3.
2024-08-01 03:59:49 +02:00
Eric Tuvesson
f810d18f09 Fix typo in EditorPlugin _forward_3d_draw_over_viewport(overlay) method example
Too few arguments for "draw_circle()" call. Expected at least 3 but received 2.
2024-08-01 00:10:16 +02:00
Rémi Verschelde
3978628c6c
Merge pull request #94994 from dsnopek/mobilevr-interface-docs-use-xr
Fix type-o in `MobileVRInterface` sample code in docs: `xr` -> `use_xr`
2024-08-01 00:06:47 +02:00
Rémi Verschelde
e5035668b1
Merge pull request #94993 from akien-mga/scons-4.8.0-load-ninja-earlier
SCons: Load optional ninja tool before setting its options
2024-08-01 00:06:43 +02:00
Rémi Verschelde
7e1b74b5f6
Merge pull request #94991 from Hilderin/fix-global-script-class-file-no-class
Fix global class cache file not present when no class name
2024-08-01 00:06:41 +02:00
Rémi Verschelde
6e50da8a37
Merge pull request #94931 from KoBeWi/1_window_1_hack
Use legacy color picking in single window mode
2024-08-01 00:06:38 +02:00
Rémi Verschelde
4aa0b52267
Merge pull request #94443 from wjt/get_supported_variation_list-example-typo
Font: Fix typo in `get_supported_variation_list` example
2024-08-01 00:06:34 +02:00
Rémi Verschelde
3c7eb6a4a9
Merge pull request #94256 from alvinhochun/embree-include-order-dllexport-fix
embree: Fix include order causing unwanted dllexport symbols
2024-08-01 00:06:31 +02:00
Rémi Verschelde
2add44c0dc
Merge pull request #94168 from Faless/net/wsl_peer_reuse
[WebSocket] Allow reusing closing and closed peers
2024-08-01 00:06:26 +02:00
David Snopek
24b7d973fa Fix type-o in MobileVRInterface sample code in docs: xr -> use_xr 2024-07-31 16:36:44 -05:00
Will Thompson
4fb07d4608
Font: Fix typo in get_supported_variation_list example
FontVariation.set_base_font is a function, not a property. The property
is FontVariation.base_font.
2024-07-31 23:16:30 +02:00
Rémi Verschelde
d2064fea52
SCons: Load optional ninja tool before setting its options
SCons 4.8.0 made this stricter, as we were advised in #94805.

Fixes #94805.
2024-07-31 23:03:59 +02:00
Hilderin
1ed723bd19 Fix global class cache file not present when no class name 2024-07-31 16:57:25 -04:00
Rémi Verschelde
b6dee96f68
Merge pull request #94987 from kitbdev/fix-update-mouse-cursor-state-pos
Fix update mouse cursor state wrong mouse position
2024-07-31 22:33:11 +02:00
Rémi Verschelde
019cf2b40c
Merge pull request #94984 from Faless/mp/fix_safer_cache_cleanup
[MP] Partially revert cache cleanup, track paths as fallback
2024-07-31 22:33:07 +02:00
Rémi Verschelde
8460a72f94
Merge pull request #94871 from rune-scape/fix-mismatched-parsers2
GDScript: Fix common mismatched external parser errors (second try)
2024-07-31 22:33:03 +02:00
Rémi Verschelde
9559330187
Merge pull request #91011 from Faless/mp/fix_disconnect_on_change
[MP] Fix `disconnect_peer` not doing the proper cleanup
2024-07-31 22:32:55 +02:00
rune-scape
6e8fa6dd50 GDScript: Fix common mismatched external parser errors 2024-07-31 12:54:16 -07:00
kit
fce60c2b3f Fix update mouse cursor state wrong mouse position 2024-07-31 14:10:40 -04:00
Pedro J. Estébanez
90679f1dcf Report shader arrays sized after spec constants as zero-sized
This effectively disables validation of the size of the data provided.
2024-07-31 20:07:53 +02:00
Fabio Alessandrelli
90d5d26026 [MP] Partially revert cache cleanup, track paths as fallback
Cleaning up remote NodePath cache is not trivial since the visibility
API allows for certain nodes to be despawned (and re-spawned) on some
peers while being retained in the authority.

This means that from the server point of view, the node has not changed,
and the path simplification protocol won't be run again after
respawning.

While we can track this information for synchronizers via the
replication API, we can't easily track this information for potential
child nodes that use RPCs (I'm convinced it is doable, but we need to
track the whole dependency tree which would require some more complex
refactoring).

This commit partially reverts some of the cache cleanup logic to always
retain remote IDs, and adds a NodePath lookup fallback when the ObjectID
is invalid.
2024-07-31 19:32:32 +02:00
Rémi Verschelde
6cd2876c98
i18n: Sync translations with Weblate 2024-07-31 17:56:37 +02:00
Rémi Verschelde
540c05e141
Merge pull request #94980 from Calinou/editor-doc-cache-make-version-specific
Split editor documentation cache by minor version
2024-07-31 17:31:21 +02:00
Hugo Locurcio
789f3135ad
Split editor documentation cache by minor version
This avoids conflicts with other editor versions and ensures the
cache remains valid if you regularly switch between editor versions.
2024-07-31 17:17:45 +02:00
Rémi Verschelde
db414b647a
Merge pull request #94978 from bruvzg/macos_pid_map
[macOS] Fix `is_process_running` and  `kill` for bundled apps.
2024-07-31 17:07:18 +02:00
bruvzg
1dfcbccfe6
[macOS] Fix is_process_running and kill for bundled apps. 2024-07-31 16:54:53 +02:00