Lukas Tenbrink
33689d7beb
Remove transitive mesh.h, rendering_server.h and shader.h includes from node.h.
2025-10-08 12:16:52 +02:00
Thaddeus Crews
e878d5a2fb
Merge pull request #111304 from HolonProduction/rm-last-vp-rect
...
Remove unused members from `Viewport`
2025-10-07 17:15:02 -05:00
Thaddeus Crews
30a0a41982
Merge pull request #111274 from chocola-mint/include-optimization-logger
...
Remove `file_access.h` and `script_backtrace.h` includes from `logger.h`.
2025-10-06 09:06:32 -05:00
Juan
faddd60c40
Add unique Node IDs to support base and instantiated scene refactorings
...
The main goal of this PR is to safeguard when a base or instantiated scene changes (nodes renamed, moved or readded),
that the hierarchy is still maintained and the node and its overridden properties can be preserved.
What it does:
* Implements unique node IDs.
* These IDs act as a fallback to names when saving.
* The IDs are **USED AS A FALLBACK**, so they are just an addition. It should not break any current existing scene.
* If a scene renames or moves a node, inherited or instantiated scenes will no longer lose reference to it.
Unlike the previous approach, this one is intended to be a fallback, only used if the node is not found.
This makes it safer to implement and ensure that, at worst case, we fail to find the node, but nothing breaks.
2025-10-06 12:55:38 +02:00
HolonProduction
7f77565b66
Remove unused members from Viewport
2025-10-05 22:41:16 +02:00
chocola-mint
ead282ff13
Remove file_access.h and script_backtrace.h includes from logger.h.
2025-10-05 17:49:23 +09:00
Thaddeus Crews
f6aa5ba23c
Merge pull request #97210 from AleksLitynski/object-snapshot-debugger
...
Add an ObjectDB Profiling Tool
2025-10-03 12:01:11 -05:00
Thaddeus Crews
fb572aff53
Merge pull request #107666 from Sch1nken/add-physics-interpolation-multimesh2d
...
Add MultiMesh physics interpolation for 2D transforms (MultiMeshInstance2D)
2025-10-03 12:01:07 -05:00
Thaddeus Crews
38af23a654
Merge pull request #89409 from aaronfranke/server-folders
...
Move server files into their subfolders
2025-10-03 12:01:00 -05:00
Aaron Franke
e2dd60b5f8
Group together 2D camera override functions
2025-10-02 13:21:44 -07:00
Thaddeus Crews
7bdec67718
Merge pull request #111126 from HolonProduction/gotta-get-path
...
Optimize initial `Node::get_path` call by avoiding `Vector::reverse`
2025-10-02 15:12:01 -05:00
Mounir Tohami
d9af8e0acc
Fix Camera2D editor override and 2D debug templates.
2025-10-02 13:52:29 +03:00
Thaddeus Crews
abbe792575
Merge pull request #111067 from HolonProduction/rm-multiplayer
...
Remove unused `multiplayer` member from `Node`
2025-10-01 17:54:20 -05:00
HolonProduction
b50ce590b4
Optimize initial Node::get_path call by avoiding Vector::reverse
2025-10-01 22:56:53 +02:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders
2025-09-30 19:39:39 -07:00
Thaddeus Crews
09609c1320
Merge pull request #111043 from HolonProduction/rm-import-path
...
Remove unused `import_path` member from `Node`
2025-09-30 20:10:44 -05:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
Thaddeus Crews
e5bf31b170
Merge pull request #107369 from Ivorforce/node-iter-children
...
Core: Add `Node::iterate_children` as a fast way to iterate a node's children
2025-09-30 18:35:21 -05:00
Thaddeus Crews
b9513683d5
Merge pull request #109900 from Ryan-000/Make-Node-orphan_node_count-thread-safe
...
Make Node::orphan_node_count thread-safe
2025-09-30 18:35:13 -05:00
Thaddeus Crews
d86123870b
Merge pull request #52285 from rxlecky/camera-override-cleanup
...
Clean up and simplify camera override API
2025-09-30 18:35:11 -05:00
HolonProduction
a9673e2bfc
Remove unused multiplayer member from Node
2025-09-30 14:02:00 +02:00
Ryan
6ebef31b3c
Make Node::orphan_node_count thread-safe
2025-09-29 17:54:41 -04:00
HolonProduction
743e0edfd7
Remove unused import_path member from Node
2025-09-29 21:40:01 +02:00
Aaron Franke
754d49ac81
Skip copying values constructed immediately before returning
2025-09-26 19:13:58 -07:00
Thaddeus Crews
c62356fcaa
Merge pull request #85080 from Cykyrios/draw-ellipse
...
Add methods to draw ellipses
2025-09-23 12:08:51 -05:00
Thaddeus Crews
1f5d8a39cb
Merge pull request #110520 from m4rr5/fix_vrs_modes_list
...
Fix Viewport VRS Mode property listing unimplemented Depth buffer option
2025-09-23 12:08:49 -05:00
Thaddeus Crews
685c7e92e5
Merge pull request #100437 from KoBeWi/ruaninstancequestionmark
...
Add `is_instance()` helper method to Node
2025-09-23 12:08:48 -05:00
Thaddeus Crews
89c51cb183
Merge pull request #110571 from WhalesState/get-children
...
Improve `Node::get_children` performance.
2025-09-22 13:28:46 -05:00
Thaddeus Crews
035f5d3055
Merge pull request #110763 from Ivorforce/object-derives-from
...
Use `AncestralClass` to speed up `Object::cast_to` when possible.
2025-09-22 13:28:45 -05:00
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
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
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
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
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