1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00
Commit Graph

2622 Commits

Author SHA1 Message Date
Thaddeus Crews
be421bcdd4 Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Lukas Tenbrink
96619d46a1 Use AncestralClass to speed up Object::cast_to when possible. 2025-09-22 13:21:51 +02:00
Haoyu Qiu
172c80df67 Make text-related nodes translation domain aware
- Makes `is_layout_rtl()` translation domain aware
- Makes various text-drawing controls translation domain aware
- Makes translation preview use the project's fallback locale when disabled
2025-09-22 09:39:14 +08:00
Thaddeus Crews
149a4b4ca1 Merge pull request #107868 from lawnjelly/quick_ancestry4
Provide quick access to `Object` ancestry
2025-09-20 13:41:39 -05:00
Michael Alexsander
aeb3a45c97 Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Thaddeus Crews
f27f917d32 Merge pull request #107955 from lodetrick/mouse-signals
Fix `mouse_entered` and `mouse_exited` Signals being emitted too early
2025-09-19 09:17:04 -05:00
Cykyrios
9f7c3d00dd Add methods to draw ellipses 2025-09-19 10:45:16 +02:00
Thaddeus Crews
1c056c7c86 Merge pull request #107481 from lawnjelly/localvector_children
Use `LocalVector` for `Node3D` and `CanvasItem` children
2025-09-18 12:42:28 -05:00
Mounir Tohami
3335708ce0 Refine children cache invalidation to skip more special cases. 2025-09-18 18:28:59 +03:00
Mounir Tohami
7dc6df3051 Optimize Node::get_children.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-09-17 13:31:23 +03:00
Marcel Offermans
7d09e4a428 Fixes #110519 by removing the 'Depth buffer' option that is not present in the back-end. 2025-09-14 21:04:05 +02:00
Thaddeus Crews
bfe246c2af Merge pull request #90922 from YeldhamDev/so_many_popupmenu_bugs
Fix wrong tooltip behavior in `PopupMenu`s that have styles  with top borders
2025-09-01 12:25:43 -05:00
Thaddeus Crews
7e88218cb5 Merge pull request #110094 from Calinou/editor-viewport-oversampling-override-add-property-hint
Add missing range hint to `Viewport.oversampling_override` in the editor
2025-09-01 11:14:10 -05:00
Pāvels Nadtočajevs
2273c10a84 Fix out of control area mouse events crash, if nothing have mouse focus. 2025-09-01 14:56:13 +03:00
rxlecky
02e1919514 Cleanup and simplify camera override API
- Harmonise the camera override 2D and 3D APIs
- Switch to using Camera2D/3D nodes to provide override functionality. This makes for simpler code, gets rid of much of copy-pasted camera code and makes code that relies on current viewport camera such as VisibleOnScreenNotifiers and object picking work out of the box.
- Make camera override code only accesible within DEBUG_ENABLED builds
2025-08-31 15:34:46 +02:00
Hugo Locurcio
eecfdbdd7d Add missing range hint to Viewport.oversampling_override in the editor 2025-08-29 17:41:35 +02:00
Lukas Tenbrink
45a0d2a90a Make SceneTree not crash when receiving a notification without a root being set. 2025-08-28 01:38:27 +02:00
kobewi
6abfa4be7b Don't redraw invisible CanvasItems 2025-08-23 14:27:21 +02:00
Pāvels Nadtočajevs
10e11ec87f Rename SVGTexture to DPITexture. 2025-08-21 11:39:16 +03:00
Pāvels Nadtočajevs
7b47f5e8db [Accessibility] Process non-focusable windows (popups, menus) as part of the parent window tree. 2025-08-17 12:15:08 +03:00
Pāvels Nadtočajevs
10fd7163d4 Add methods to check which event first triggered "just pressed/released" state. 2025-08-12 16:25:23 +03:00
Pāvels Nadtočajevs
3b12b3402f Forward mouse events to embedded no-focus windows. 2025-08-05 22:31:44 +03:00
Pāvels Nadtočajevs
2111ff0e2a Fix menu keyboard and controller navigation. 2025-07-21 10:03:07 +03:00
Adam Simpkins
254fa6c642 fix releasing the old unique name when renaming a Node
This fixes `Node::set_name()` to release the old unique name before
performing the rename.  #76560 changed the code to update `data.name`
before calling `_release_unique_name_in_owner()`, causing to incorrectly
try releasing the new name instead of the old name.

Fixes #108683
2025-07-16 14:21:50 -07:00
Thaddeus Crews
af4e96b1b3 Merge pull request #108604 from deralmas/fitting-shenanigans
Wayland: Workaround tooltip issues
2025-07-15 08:04:27 -05:00
Thaddeus Crews
e1e2277f5a Merge pull request #108530 from mihe/physics-debug-perf
Fix performance regression when rendering collision shapes
2025-07-15 08:04:25 -05:00
Thaddeus Crews
ba3848a4ef Merge pull request #108387 from BadMachine/fix/102960-location_header_parsing_when_redirects
Fix wrong "location" substring matching when HTTP status is 301 or 302
2025-07-15 08:04:07 -05:00
Dery Almas
cf48f5a102 Disable tooltip fitting if FEATURE_SELF_FITTING_WINDOWS is available 2025-07-15 11:44:56 +02:00
kobewi
25f0e0ac91 Add DUPLICATE_INTERNAL_STATE flag 2025-07-12 22:18:59 +02:00
Mikael Hermansson
8634a8e234 Fix performance regression when rendering collision shapes 2025-07-11 20:52:58 +02:00
Raul Santos
379d967d1a Fix MissingNode {get,set}_original_scene bindings 2025-07-11 20:34:46 +02:00
dementive
56fa8caef4 Optimize scene tree groups 2025-07-11 10:57:04 -05:00
Thaddeus Crews
e748514112 Merge pull request #105835 from bruvzg/edited_scene_direction
Improve edited scene layout direction detection.
2025-07-09 11:33:11 -05:00
kobewi
11adf408ab Add is_instance() helper method to Node 2025-07-08 20:42:52 +02:00
Aleksander Litynski
78f1543e35 Add an ObjectDB Profiling Tool
A new tab is added to the debugger that can help profile a game's memory usage.

Specifically, this lets you save a snapshot of all the objects in a running
game's ObjectDB to disk. It then lets you view the snapshot and diff two
snapshots against each other. This is meant to work similarly to Chrome's
heap snapshot tool or Unity's memory profiler.
2025-07-08 16:39:24 +02:00
BadMachine
9bc59cd100 - fixed wrong "location" substring matching when HTTP status is 301 or 302 2025-07-07 23:12:25 +02:00
Thaddeus Crews
9228354adc Merge pull request #108112 from lawnjelly/fti_toplevel_resets
`FTI` - Add reset on setting `top_level`
2025-07-01 17:57:56 -05:00
lawnjelly
3f0de57b3c Clear SceneTreeFTI completely on enabling / disabling. 2025-06-30 08:04:53 +01:00
lawnjelly
2d3dedb12d FTI - Add reset on setting top_level 2025-06-29 17:01:51 +01:00
Thaddeus Crews
db28859774 Merge pull request #107591 from timothyqiu/group-enable-default
Make `PROPERTY_HINT_GROUP_ENABLE` hide properties by default
2025-06-24 18:34:28 -05:00
Logan Detrick
c03a7b7893 Delay Mouse signals until after internal processing 2025-06-24 14:29:17 -07:00
lawnjelly
583c72f999 FTI - Change SceneTree global setting to static
Also fixup FTI configuration warnings so that they only output when the project is using FTI.
2025-06-23 10:19:24 +01:00
lawnjelly
14a814586a Provide quick access to Object ancestry 2025-06-23 07:11:11 +01:00
Dimitri Sukhankin
6e650163da Add a proper error message when trying to add node to a group with an empty name 2025-06-21 13:58:31 +04:00
Thaddeus Crews
e2a9c11157 Merge pull request #107584 from timothyqiu/editor-root-auto-translate
Fix root node auto translation settings affecting editor root
2025-06-18 18:13:51 -05:00
Thaddeus Crews
353bd80c91 Merge pull request #107581 from timothyqiu/window-title-update
Fix game view window not updating title when translation changes
2025-06-18 18:13:50 -05:00
Sch1nken
a9ac00f8f7 Added multimesh physics interpolation for 2D transforms (MultiMeshInstance2D)
Replicated MultimeshInstance3D behaviour to MultiMeshInstance2D and added mesh_storage for 2D transform

Also call VisualInstance::_physics_interpolated_changed()

Use Node instead of VisualInstance. Addded comment

Fixed typo :)

Using CanvasItem instead of Node now. Made CanvasItem::_physics_interpolated_changed() protected
2025-06-18 16:04:51 +02:00
lawnjelly
af2b9be356 Node3D and CanvasItem children change to LocalVector 2025-06-18 13:32:30 +01:00
Haoyu Qiu
a7ab249a2a Make PROPERTY_HINT_GROUP_ENABLE hide properties by default 2025-06-16 20:03:49 +08:00
Pāvels Nadtočajevs
34a97f9c9b Fix scale and position of popups with force_native. 2025-06-16 13:03:42 +03:00