Commit graph

64766 commits

Author SHA1 Message Date
bruvzg 3cabf51325
[X11] Detect XWayland and disable screen capture support. 2024-06-12 10:05:17 +03:00
Bastiaan Olij 1690ede988 Track compositor effects that use motion vectors so we enable required logic 2024-06-12 12:37:18 +10:00
clayjohn 9000a9d36f Ensure post processing happens when adjustments are enabled in the Compatibility renderer 2024-06-11 14:31:06 -07:00
clayjohn fa3e00e2c4 Ensure Motion Vectors are enabled by particles and skeletons when using the Motion Vector debug draw option 2024-06-11 12:46:56 -07:00
kobewi 9f7f1809ff Update Camera2D gizmos when screen size changes 2024-06-11 18:38:43 +02:00
kit 630d3eb35e Don't error when undo stack is empty 2024-06-11 12:16:36 -04:00
Raul Santos 29bf60cc02
Use GDExtension to_string in Node
Matches the `Object::to_string` implementation.
2024-06-11 17:40:51 +02:00
Rémi Verschelde 292e50e17e
Merge pull request #93033 from akien-mga/system-info-remove-empty-vad-name
System info: Remove empty parentheses when video adapter driver name is unknown
2024-06-11 16:59:41 +02:00
Rémi Verschelde 1e0015ac64
Merge pull request #92994 from smix8/navmesh_2d_clear
Fix NavigationRegion2D editor plugin clear button not updating debug visuals
2024-06-11 16:59:38 +02:00
Rémi Verschelde 41381a73fe
Merge pull request #92930 from passivestar/inspector-node-delete
Add missing inspector dock update after node deletion
2024-06-11 16:59:35 +02:00
Rémi Verschelde 034e579fa5
Merge pull request #92901 from kleonc/texture-progress-bar-fix-radial-mode-2-point-polygon-edge-case
Fix `TextureProgressBar` radial mode invalid polygon edge case
2024-06-11 16:59:31 +02:00
Rémi Verschelde 0d1f2396d5
Merge pull request #92847 from aaronp64/varying_getter_port_type
Fix `VisualShaderNodeVaryingGetter` expanded ports adding ".x" to shader
2024-06-11 16:59:25 +02:00
Rémi Verschelde b6ad4b193f
System info: Remove empty parentheses when video adapter driver name is unknown
Seems to be the case at least for me on Fedora, and in various issues I see from
other Linux users.
2024-06-11 16:18:20 +02:00
Rémi Verschelde a7aa8356b9
Merge pull request #92728 from Repiteo/ci/codespell-to-pyproject
CI: Migrate codespell logic to `pyproject.toml`
2024-06-11 13:57:06 +02:00
Rémi Verschelde 31277e43a7
Merge pull request #91890 from Repiteo/scons/silence_msvc-fixes
SCons: Fix `silence_msvc` implementation errors
2024-06-11 13:57:01 +02:00
Rémi Verschelde a0bbd398ee
Merge pull request #93008 from aaronp64/container_queue_sort
Fix `Container::pending_sort` tracking
2024-06-11 11:53:42 +02:00
Rémi Verschelde 928e044ef5
Merge pull request #93006 from Hilderin/fix-update-files-pr-#92893
Fix EditorFileSystem `update_files` after #92893
2024-06-11 11:51:09 +02:00
Rémi Verschelde 4629845ead
Merge pull request #92718 from jsjtxietian/importer-duplicate
Fix same importer will be added multiple times in `get_importers_for_extension`
2024-06-11 11:51:06 +02:00
Rémi Verschelde 1a8c6e85ba
Merge pull request #93023 from akien-mga/revert-92650
Revert "Fix FileSystem dock won't show any file folders"
2024-06-11 11:49:57 +02:00
Rémi Verschelde e4fa8543ea
Revert "Fix FileSystem dock won't show any file folders"
This reverts commit 72856d633a.

Fixes #93022.
2024-06-11 11:46:35 +02:00
Rémi Verschelde 62a056aa56
Fix extension API validation warning after #92861 2024-06-11 11:23:09 +02:00
Rémi Verschelde dc1a6a190d
Merge pull request #93019 from akien-mga/revert-92350
Revert "Fix method name for custom callable"
2024-06-11 11:22:55 +02:00
Rémi Verschelde 972839d12a
Merge pull request #92968 from bruvzg/rtl_list_indent
[RTL] Fix list item prefix width not taken into account.
2024-06-11 11:22:52 +02:00
Rémi Verschelde 94929439b6
Revert "Fix method name for custom callable"
This reverts commit e88095ed8f.

Fixes #92695.
2024-06-11 11:02:03 +02:00
Rémi Verschelde 4223444d87
Merge pull request #92993 from capnm/240610-embree-error-hotfix
CI: Hotfix for build error with newer clang++
2024-06-11 10:49:07 +02:00
Rémi Verschelde 7359423b16
Merge pull request #92991 from smix8/navregion_canvas_clear
Fix NavigationRegion2D debug not clearing canvas item
2024-06-11 10:49:04 +02:00
Rémi Verschelde 78a96c26a9
Merge pull request #92988 from adamscott/max-webgl-version
Replace deprecated `USE_WEBGL2` linker flag
2024-06-11 10:49:01 +02:00
Rémi Verschelde d3c1eb009e
Merge pull request #92908 from bruvzg/fix_main_window_initial_mouseover
[Window] Fix mouse hover state of the main window when mouse enter event was sent before setting callbacks.
2024-06-11 10:48:58 +02:00
Rémi Verschelde 4ac7a27e43
Merge pull request #92905 from DeeJayLSP/qoa-ups
qoa: Apply upstream patches
2024-06-11 10:48:55 +02:00
Rémi Verschelde a95703892d
Merge pull request #92856 from bruvzg/ed_prog_upd
Force editor progress dialog size update.
2024-06-11 10:48:52 +02:00
Rémi Verschelde 1415684af9
Merge pull request #92701 from bruvzg/button_align
[Button] Adds theme option to align button text and icon to either largest or current stylebox.
2024-06-11 10:48:49 +02:00
Rémi Verschelde 0a9f2d2262
Merge pull request #92650 from Hilderin/fix-fileSystem-dock-wont-show-any-file-folders
Fix FileSystem dock won't show any file folders
2024-06-11 10:48:46 +02:00
Rémi Verschelde dfefdadfb8
Merge pull request #89302 from Mickeon/Some-old-theme-color-renames
Add pre-4.3 Editor theme color names for compatibility
2024-06-11 10:48:43 +02:00
Rémi Verschelde 430812980c
Merge pull request #86721 from Naros/gde-debugger-tooling
Improve GDExtension Tools Integration with Editor Debug Tooling
2024-06-11 10:48:34 +02:00
Tareq Anuar d14bea4413
Move the most specific motion event guard to the top of the function. 2024-06-11 12:10:09 +08:00
aaronp64 5a25637ca9 Fix Container::pending_sort tracking
When Container::queue_sort() is called, pending_sort is set to true to indicate when a call to _sort_children() is queued, to avoid queueing multiple calls. Container::_sort_children() sets pending_sort back to false when finished, but did not do this when the container was not inside the tree.  This would allow cases where queue_sort() could be called just before removing from the tree, causing _sort_children() to never reset pending_sort, preventing any future queue_sort() calls from queueing again.

One case where this happened was with the "Saving Scene" progress bar in the editor - when saving for the first time (or the first time the progress bar popup otherwise appeared in the editor), _sort_children() would be called successfully.  After the progress bar popup was hidden, then shown again on future saves, _sort_children() would not be called again, resulting in the progress bar not taking up as much space as it should.

This issue used to be avoided by setting pending_sort to false immediately on NOTIFICATION_ENTER_TREE - however, this would allow multiple calls to be queued at the same time when entering the tree (#92644).  The multiple calls was fixed recently by removing this assignment, but this also made possible the case where pending_sort is never reset.

This change sets pending_sort back to false in _sort_children() whether or not it's in the tree.  Since this is done in a deferred call, it should still avoid the previous issue of multiple calls being queued at once on entering the tree.

Fixes #92971
2024-06-10 20:17:47 -04:00
Hilderin 9f8a918ade Fix update_files from PR #92893 2024-06-10 20:03:18 -04:00
Hilderin 72856d633a Fix FileSystem dock won't show any file folders 2024-06-10 19:54:37 -04:00
Chris Cranford 8577340501 Expose several EngineDebugger methods and signals as plugin callbacks 2024-06-10 19:46:23 -04:00
smix8 14bed692bf Fix NavigationRegion2D clear button not updating debug visuals
Fixes that NavigationRegion2D editor plugin clear button did not update the debug visuals.
2024-06-10 19:36:21 +02:00
Daniel Opitz c24ea0ecca CI: Hotfix for build error with newer clang++
It will be included in the next release at some point.
- https://github.com/RenderKit/embree/issues 486
  "fix output operator"

[ 30%] Compiling thirdparty/embree/kernels/common/accelset.cpp ...
In file included from thirdparty/embree/kernels/common/device.cpp:12:
In file included from thirdparty/embree/kernels/common/scene_curves.h:10:
thirdparty/embree/kernels/common/../subdiv/bezier_curve.h:138:56:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
  138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower << ", "
  << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
 ...
2024-06-10 19:14:01 +02:00
smix8 6b85bc9de2 Fix NavigationRegion2D debug not clearing canvas item
Fixes NavigationRegion2D debug not clearing canvas item on navigation mesh change.
2024-06-10 19:07:57 +02:00
Adam Scott 5a01c2e954
Replace deprecated USE_WEBGL2 linker flag 2024-06-10 12:14:27 -04:00
bruvzg 768fd1eacb
[Window] Fix mouse hover state of the main window when mouse enter event was sent before setting callbacks. 2024-06-10 18:43:01 +03:00
bruvzg 721a663aa3
[Button] Adds theme option to align button text and icon to either largest or current stylebox. 2024-06-10 18:40:52 +03:00
Rémi Verschelde 5241d30bfa
Merge pull request #92836 from WhalesState/screenshot
Fix editor screenshots menu button's tooltip
2024-06-10 16:40:56 +02:00
Rémi Verschelde 91e166a0c0
Merge pull request #92815 from aaronp64/keep_skip_import_crash
Fix Keep/Skip File import selection crash
2024-06-10 16:40:53 +02:00
Mounir Tohami d9452552fa Fix editor screenshots menu button's tooltip. 2024-06-10 14:13:35 +00:00
Rémi Verschelde 7128667959
Merge pull request #92943 from anniryynanen/less-file-dialogs
Fix native file dialogs being shown on `set_visible(false)`
2024-06-10 16:12:11 +02:00
Rémi Verschelde 821338c0d1
Merge pull request #92925 from TokageItLab/concatenated-bone-names
Add `get_concatenated_bone_names()` to `Skeleton3D` for `SkeletonModifier3D`'s enum hints
2024-06-10 16:12:08 +02:00