Commit Graph

67620 Commits

Author SHA1 Message Date
Rémi Verschelde
b92fe32ae1
Merge pull request #67531 from Sauermann/fix-drag-n-drop
Enable Drag and Drop between SubViewports and Windows
2024-09-16 13:33:57 +02:00
Micky
3ecf346f12 Allow JOY_AXIS_INVALID in InputEventJoypadMotion's axis 2024-09-16 12:12:27 +02:00
patwork
3038de4245 Fix for GLES3 radiance cubemap update 2024-09-16 11:32:36 +02:00
Robert Cadena
42b0e91ee4
Remove debug print from Android DisplayServer.screen_get_scale implementation 2024-09-16 11:17:26 +02:00
Pedro J. Estébanez
bb77520599 Object: Add tests about the safety of tail destruction 2024-09-16 09:58:47 +02:00
Gaktan
453f32ae0a Fix weird MSVC compilation error
For some reason, MSVC doesn't appreciate uint8 math with enum constants
2024-09-15 23:13:24 +02:00
Anni Ryynänen
2033510a65
Improve button behavior when multiple mouse buttons are used at the same time
- To emit `pressed`, buttons require that the press was initiated while hovering.
- Controls can't grab focus from a mouse click if they're not hovered.
- Hovers are updated both before and after a handled mouse button event.
2024-09-15 19:06:10 +03:00
Hugo Locurcio
212c34029e
Document SceneMultiplayer auth_timeout being in seconds 2024-09-15 17:49:38 +02:00
Saracen
86fc8ef99b Fix selection box + scrolling in animation editor. 2024-09-15 15:09:13 +01:00
Aaron Franke
461b4dd614
Add "4D" to EditorPropertyNameProcessor 2024-09-15 04:19:45 -07:00
Daylily-Zeleen
c6f7c89149 Fix description of Array.sort_custom() 2024-09-15 15:52:50 +08:00
Hilderin
d06c7ad6f0 Fix error reopening non existing scene on startup 2024-09-14 20:55:34 -04:00
Koyper
f7005deb1e Improvements to SplitContainer including a drag bar background StyleBox. 2024-09-14 19:35:51 -05:00
Markus Sauermann
60aaa017ff Enable Drag and Drop for SubViewports and Windows
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.

In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.

Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +02:00
DeeJayLSP
e3f3daac6f AudioStreamMP3: Use a LocalVector to store data 2024-09-14 19:14:47 -03:00
Silc Lizard (Tokage) Renew
8d30ccd067 Add missing "Quad" capture TransitionType enum hint 2024-09-15 06:42:04 +09:00
Hilderin
46edd6df55 Fix script properties reload from external editor 2024-09-14 15:07:53 -04:00
Silc Lizard (Tokage) Renew
2b3cf2451f Fix syncing PhysicalBone internal poses individually 2024-09-15 01:46:12 +09:00
bruvzg
8d039146d9
[macOS] Fix dynamic library lookup for system libraries. 2024-09-14 18:22:36 +03:00
Hilderin
e064efccbc Fix editor_doc_cache locked on editor startup 2024-09-14 09:37:04 -04:00
Mounir Tohami
701188fd1e Fix VSlider grabber area. 2024-09-14 12:40:41 +00:00
Rémi Verschelde
6681f2563b
Merge pull request #96977 from stuartcarnie/96960_use_after_free
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
2D: Fix use-after-free in batch rendering; regression of #95574
2024-09-14 10:05:38 +02:00
Stuart Carnie
c113e5b143
2D: Fix use-after-free in batch rendering
Closes #96960
Fixes regression of #95574 using fix from #95666
2024-09-14 07:50:39 +10:00
Kiisu_Master
3a1160bff1
Fix typo in RenderingServer docs 2024-09-13 21:57:51 +03:00
Riteo
c15cd3acc4 Wayland: Simplify cursor code and fix custom cursors
Initially the WaylandThread cursor code was supposed to be as stateless
as possible but, as time went on, this wasn't possible.

This expectation made the resulting API quite convoluted, so this patch
aims to simplify it substantially bot in terms of API surface and, most
importantly, in terms of actual implementation complexity.

This patch also fixes custom cursors since I accidentally changed the
mmap flags to MAP_PRIVATE some time ago. This took me hours to notice.
2024-09-13 19:08:53 +02:00
Thaddeus Crews
bf811db6c8
Style: Consolidate & migrate GDScript .editorconfig
• Moved to test project root so a new `.editorconfig` isn't constantly generated.
• Disable attributes only in the files which use invalid syntax deliberately
2024-09-13 11:12:17 -05:00
Fredia Huya-Kouadio
741efa632a Update the Android editor flavors to avoid vendor-specific references 2024-09-13 08:53:29 -07:00
Thaddeus Crews
41a81f5360
Style: Format yaml files 2024-09-13 08:06:53 -05:00
2750558108
ccc6e5d25f Remove Useless Viewport::gui.key_input_accepted 2024-09-13 20:52:05 +08:00
Pedro J. Estébanez
e2fd88ed91 Revert "WorkerThreadPool: Enhance lifetime for more flexibility"
This reverts commit 2d1dd41ef5.
2024-09-13 14:39:11 +02:00
Pedro J. Estébanez
f31867d2b9 EditorResourcePreview: Let loads complete after exit requested 2024-09-13 12:19:06 +02:00
Rémi Verschelde
74de05a01c
Merge pull request #96912 from Chaosus/shader_fix_sky
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Fix broken sky shader
2024-09-13 11:49:05 +02:00
Pedro J. Estébanez
e3ddf3d44a ResourceLoader: Fixup resource changed feature (no. 2) 2024-09-13 11:32:55 +02:00
Rémi Verschelde
d5d6c730bf
Merge pull request #96934 from smix8/planemesh_gizmo
Fix `MeshInstance3D` gizmo redraw performance for `PlaneMesh` with larger subdiv value
2024-09-13 11:22:08 +02:00
Rémi Verschelde
84f1fe781c
Merge pull request #96910 from zaevi/improve_GraphEdit_dot_grid
GraphEdit: Improve dotted pattern grid performance
2024-09-13 11:22:05 +02:00
Rémi Verschelde
f2ce94fdde
Merge pull request #96885 from LuizZak/grow_mask_sqrt_fix
Avoid expensive sqrt operation in hot loop of `BitMap.grow_mask`
2024-09-13 11:22:01 +02:00
Rémi Verschelde
0f86f30cf0
Merge pull request #96860 from kroketio/from-ext-alloc-check
Vulkan: Account for externally backed textures
2024-09-13 11:21:58 +02:00
Rémi Verschelde
97843116f6
Merge pull request #96759 from Geometror/implement-autostart-profilers
Implement autostart for all profilers
2024-09-13 11:21:54 +02:00
Rémi Verschelde
b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +02:00
Rémi Verschelde
0d37bc4781
Merge pull request #96532 from AThousandShips/ref_delete_null
[Core] Optionally delete `Ref` `nullptr` comparisons
2024-09-13 11:21:48 +02:00
Rémi Verschelde
9a5d0be90f
Merge pull request #96466 from object71/fix-polygon-editor-losing-toolbar-96238
Fix polygon node losing its UV toolbar
2024-09-13 11:21:44 +02:00
Rémi Verschelde
ac652cf2a0
Merge pull request #96386 from AThousandShips/enum_inspector_improve
[Editor] Merge duplicate entries in enum property inspector
2024-09-13 11:21:40 +02:00
Rémi Verschelde
40d8d82b85
Merge pull request #93779 from hayahane/fix_get_property_cs
[C#] Fix `get_property_list` get wrong order of properties
2024-09-13 11:21:37 +02:00
Rémi Verschelde
04456cf42d
Merge pull request #93427 from AThousandShips/editor_setting_doc
[Editor] Expose more editor settings to documentation
2024-09-13 11:21:32 +02:00
Rémi Verschelde
5a56d11ad1
Merge pull request #96915 from Faless/mp/rpc_sort_custom
[MP] Fix broken RPCs after dictionary keys type change
2024-09-13 11:21:29 +02:00
Chaosus
4a16a0d60c Fix broken sky shader 2024-09-13 08:53:26 +03:00
allison
c46b5af06b fix astar partial path destination can be solid/disabled
* AStar2D, AStar3D and AStarGrid2D will now return a path when allow_partial_path is true even if the destination is a solid/disabled point.

# Conflicts:
#	core/math/a_star_grid_2d.cpp
#	core/math/a_star_grid_2d.h
2024-09-12 20:09:41 -07:00
clayjohn
74a1c85ba3 Add CommandQueue to Betsy 2024-09-12 13:54:24 -07:00
smix8
b8de7b72c6 Fix gizmo redraw performance for PlaneMesh with larger subdiv value
Fixes gizmo redraw performance for PlaneMesh with larger subdiv value.
2024-09-12 22:31:56 +02:00
Thaddeus Crews
b3d7960df4
Core: Fix operator[] for typed dictionaries 2024-09-12 11:10:17 -05:00