Commit Graph

65689 Commits

Author SHA1 Message Date
Riteo e307fd60d8 Wayland: Fix error spam when interacting with decorations
Also tried to make tablet handling a bit tidier (less whitespace).

That said I'll uniform tablet handling better once we're back in the dev
cycle.
2024-07-20 03:46:35 +02:00
Rémi Verschelde a0943acda1
Merge pull request #94243 from Calinou/image-fix-large-cowdata-size-crash
Fix Image CowData crash when baking large lightmaps
2024-07-19 17:31:49 +02:00
Rémi Verschelde cca22015d5
Merge pull request #94113 from jsjtxietian/project-dialog
Make `fdialog_project` up to become the child of `ProjectManager` instead of child of `ProjectDialog`
2024-07-19 17:31:45 +02:00
Rémi Verschelde 50eee00180
Merge pull request #94093 from Yahkub-R/94056-fix
Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
2024-07-19 17:31:39 +02:00
Hugo Locurcio 0445ccf428
Fix Image CowData crash when baking large lightmaps
This switches to 64-bit integers in select locations of the Image
class, so that image resolutions of 16384×16384 (used by
lightmap texture arrays) can be used properly. Values that are larger
should also work.

VRAM compression is also supported, although most VRAM-compressed
formats are limited to individual slices of 16384×16384. WebP
is limited to 16383×16383 due to format limitations.
2024-07-19 16:04:30 +02:00
jsjtxietian 092d21a2ec Make `fdialog_project` up to become sibling of `ProjectDialog` instead of child 2024-07-19 21:03:58 +08:00
Yahkub-R 66822a8948 Fix instanced .blend/GLTF scenes lose all children after update until .tscn is reopened
Co-Authored-By: Tomek <kobewi4e@gmail.com>
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Hilderin <81109165+Hilderin@users.noreply.github.com>
2024-07-19 08:51:23 -04:00
Rémi Verschelde f135f729b9
Merge pull request #94533 from bruvzg/fix_arm64_win_rel
[Windows] Fix release export template build for ARM64 Windows.
2024-07-19 14:37:13 +02:00
Rémi Verschelde 566adc6025
Merge pull request #94527 from HolonProduction/who-needs-source-code
Add note about `Script.has_source_code` and GDScript binary tokenization
2024-07-19 14:37:06 +02:00
bruvzg 0e519118d2 [Windows] Fix release export template build for ARM64 Windows. 2024-07-19 14:33:40 +03:00
Rémi Verschelde 293c0f7646
Merge pull request #94526 from RandomShaper/wtp_rl_prize_prequel
Batch of fixes for WorkerThreadPool and ResourceLoader (safe set)
2024-07-19 11:11:03 +02:00
Rémi Verschelde d9bfdfdd64
Merge pull request #94521 from jamie-pate/fix_92333
Fix dynamic-stack-buffer-overflow crash when executing random functions on random physics objects
2024-07-19 11:10:59 +02:00
Rémi Verschelde cf9e485696
Merge pull request #94518 from bruvzg/mac_net_non_sandboxed_sign
[macOS] Fix codesigning of .NET helper executables when sandboxing is disabled.
2024-07-19 11:10:55 +02:00
Rémi Verschelde 2549205aa8
Merge pull request #94450 from jamie-pate/fix_94274
Fix crash when adding scenes with a group to the level scene
2024-07-19 11:10:51 +02:00
Rémi Verschelde 47e99d55b3
Merge pull request #94388 from BastiaanOlij/expose_more_methods_scene_buffers_rd
Expose more state in RenderSceneBuffersRD
2024-07-19 11:10:46 +02:00
Rémi Verschelde edefcf6d1e
Merge pull request #94230 from CrazyRoka/optimize-gdscript-get-position
Optimize `Node::is_readable_from_caller_thread()` by prioritizing the most common case
2024-07-19 11:10:43 +02:00
Rémi Verschelde f649112dfc
Merge pull request #94116 from bruvzg/ed_quit_unload
[Editor] Unload addons when using `--import` or `--quit`.
2024-07-19 11:10:37 +02:00
Rémi Verschelde 18da250ffb
Merge pull request #93737 from aitorciki/disable-windowed-gsync
[Windows] Disable G-SYNC in windowed mode
2024-07-19 11:10:31 +02:00
HolonProduction f06504ca0b Add note about `Script.has_source_code` and GDScript binary tokenization 2024-07-19 10:38:55 +02:00
Pedro J. Estébanez 28a7a95531 ResourceLoader: Fix sync issues with error reporting
This is about not letting the resource format loader set the error code directly on the task anymore. Instead, it's stored locally and assigned only when it is right to do so.

Otherwise, other tasks may see an error code in the current one before it's state having transitioned to errored. While this, besides the technically true data race, may not be a problem in practice, it causes surprising situations during debugging as it breaks assumptions.
2024-07-19 10:00:41 +02:00
Jamie Pate eb5f1299b2 Fix dynamic-stack-buffer-overflow crash when executing random functions on random physics objects
Fixes #92333

This looks correct, and fixes the ASAN assertion I'm currently getting
in my program.
2024-07-18 19:22:03 -07:00
Jamie Pate 8e1e0d4b42 Fix Crash when adding scenes with a group to the level scene
Fixes #94274
2024-07-18 17:02:39 -07:00
bruvzg 975ee76e2b
[macOS] Fix codesigning of .NET helper executables when sandboxing is disabled. 2024-07-18 23:40:49 +03:00
Rémi Verschelde ff8a2780ee
Merge pull request #94506 from Jordyfel/handle-gltf-bin-missing
Fix handling of missing bin file in gltf separate
2024-07-18 15:38:32 +02:00
Rémi Verschelde 60966f5bcf
Merge pull request #94505 from mihe/speed-up-gdscript-shutdown
Speed up `GDScriptLanguage::finish`
2024-07-18 15:38:29 +02:00
Rémi Verschelde caa1b6d991
Merge pull request #94498 from Chaosus/vs_fix_connection_bug
Fix internal connection count decreased if visual shader node removed
2024-07-18 15:38:27 +02:00
Rémi Verschelde 72e434bad4
Merge pull request #94497 from Chaosus/vs_rotation_by_axis
Few fixes for `VisualShaderNodeRotationByAxis`
2024-07-18 15:38:24 +02:00
Rémi Verschelde fefd9537e6
Merge pull request #94424 from HolonProduction/completion-fix-depended-parsers
Autocompletion: Register depended parsers with the main parser
2024-07-18 15:38:20 +02:00
Rémi Verschelde 7d71b4be37
Merge pull request #94422 from m4gr3d/fix_input_locking_issue
Fix input lock issue when drag scrolling on a `Tree` element on touchscreen devices
2024-07-18 15:38:17 +02:00
Rémi Verschelde 1e81a946cc
Merge pull request #94412 from dsnopek/xr-always-render
Always render when XR is enabled, even if no OS windows can draw
2024-07-18 15:38:14 +02:00
Rémi Verschelde d12030e6d7
Merge pull request #94365 from KoBeWi/every_single_time
Fix empty region in AtlasTexture
2024-07-18 15:38:11 +02:00
Rémi Verschelde 4d238b37c6
Merge pull request #93780 from AThousandShips/unit_test_release
[CI] Run unit tests on desktop release templates
2024-07-18 15:38:08 +02:00
kobewi 10da06a32c Fix empty region in AtlasTexture 2024-07-18 15:31:59 +02:00
A Thousand Ships a2d16c0313
[CI] Run unit tests on desktop release templates 2024-07-18 15:17:33 +02:00
A Thousand Ships 832695eb2c
[Tests] Fix various unit tests on minimal builds 2024-07-18 15:17:28 +02:00
Fredia Huya-Kouadio 70d450d086 Fix issue causing input lock when drag scrolling a `Tree` element on touchscreen devices
Prior to this fix, scrolling via mouse drag on touchscreen devices, and
drag&drop operation on a `TreeItem` element would conflict with each other
preventing the drag scroll from being released when the mouse button is
released.

The issue is addressed by disabling drag&drop when drag scrolling is ongoing.
2024-07-18 04:09:54 -07:00
Jordyfel 416e63ae35 Fix handling of missing bin file in gltf separate 2024-07-18 14:04:16 +03:00
Mikael Hermansson 6852f9497c Speed up `GDScriptLanguage::finish` 2024-07-18 12:30:45 +02:00
HolonProduction 4699e69708 Autocompletion: register depended parsers with the main parser 2024-07-18 12:16:28 +02:00
Rémi Verschelde 6b5825a0cb
Merge pull request #94494 from ckaiser/better-curve-preview
Improve Curve preview colors for consistency
2024-07-18 10:45:53 +02:00
Rémi Verschelde ceb1801db2
Merge pull request #94492 from jsjtxietian/fsr-1
Add warning when use FSR1 on renderer other than forward plus
2024-07-18 10:45:50 +02:00
Rémi Verschelde 5ae8ac5c59
Merge pull request #94491 from iiMidknightii/fix-unique-name-on-scene-root
Disable unique name in scene when making a node the root node
2024-07-18 10:45:46 +02:00
Rémi Verschelde 2b2fd56ca5
Merge pull request #94473 from nvlled/fix-screen-image-memory-leak
Linux/X11: Fix memory leak from created screen images
2024-07-18 10:45:43 +02:00
Rémi Verschelde 287521c2c2
Merge pull request #94466 from bruvzg/angle_update_lib
[Windows] Add `libSynchronization` to link flags.
2024-07-18 10:45:40 +02:00
Rémi Verschelde ea5197ea85
Merge pull request #94379 from Faless/fix/debugger_typed_array
[Core] Fix TypedArray encoding when full objects is disabled
2024-07-18 10:45:37 +02:00
Rémi Verschelde 43902f43d5
Merge pull request #94237 from BlueCube3310/lightmap-atlas-loop-fix-always
Lightmapper: Prevent infinite loop while blitting lightmaps into an atlas
2024-07-18 10:45:33 +02:00
Rémi Verschelde de27d3a7fc
Merge pull request #94233 from ChristopheClaustre/screenshot_compat_broken_with_hdr
Fix black `get_texture()` on viewport in compatibility mode with HDR enabled
2024-07-18 10:45:30 +02:00
Rémi Verschelde 0f1e2c38a8
Merge pull request #94069 from RandomShaper/fix_vk_vali_blocky
RenderingDevice: Leave handling of compressed block granularity to the driver
2024-07-18 10:45:27 +02:00
Rémi Verschelde 83dd7410e0
Merge pull request #90481 from AThousandShips/interactive_playback
[Audio] Prevent crash in interactive playback
2024-07-18 10:45:23 +02:00
Rémi Verschelde 590628feda
Merge pull request #86516 from jsjtxietian/fix-camera-direction
Fix incorrect `CAMERA_DIRECTION_WORLD` calculation
2024-07-18 10:45:20 +02:00