Commit Graph

142 Commits

Author SHA1 Message Date
StarryWorm 3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews bb1e018314 Merge pull request #115119 from Nintorch/joypad-unfocused
Add project setting to ignore joypad events if the app is unfocused
2026-03-04 11:20:39 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
Nintorch d418d692b9 Project setting to ignore joypads on unfocused app
Co-Authored-By: Christoph Taucher <4498502+chtau@users.noreply.github.com>
2026-03-03 11:03:37 +05:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Rémi Verschelde 1c12d2c36e Tidy up includes in scene/main and scene/debugger 2026-02-19 15:09:29 +01:00
Michael Alexsander 6862edcede Move RuntimeNodeSelect to its own files 2026-01-29 11:02:25 -03:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
Lukas Tenbrink c56c297cee Remove geometry_3d include from rendering_server.h, to reduce compile time.
Change `Geometry3D` from class to namespace.
2026-01-27 18:12:38 +01:00
Ben Lubar 38dd2e69d0 Make Godot compile with 3D physics disabled again. 2025-12-30 12:19:21 -06:00
Thaddeus Crews 8c4e793d3a Merge pull request #111700 from YeldhamDev/ignore_scale_remote_debug
Make remote debug elements ignore the canvas scaling
2025-12-15 08:01:12 -06:00
A Thousand Ships cb1680c07a [Debugger] Fix 3D disabled builds 2025-12-12 22:22:38 +01:00
ydeltastar a92851c517 Add options to prevent selection of locked or child nodes of selection groups in the Game view 2025-12-12 14:22:48 -03:00
Thaddeus Crews 5f73d8501b Merge pull request #108213 from YeldhamDev/no_grouping_here
Hide property groups from the "Members" section in the remote inspector
2025-12-08 11:53:50 -06:00
Michael Alexsander 599ce2b43a Fix setting remote properties that take objects not working 2025-12-07 13:41:38 -03:00
Michael Alexsander 33c2ce5dee Make remote debug elements ignore the canvas scaling 2025-12-01 17:44:08 -03:00
Michael Alexsander 968b67207e Hide property groups from the "Members" section in the remote inspector 2025-12-01 12:33:56 -03:00
Mikael Hermansson 4b573fb080 Fix crash when capturing ObjectDB snapshot 2025-12-01 13:27:03 +01:00
Rémi Verschelde 66c6987523 Merge pull request #111960 from YeldhamDev/remote_phy_crash_fix
Fix crash when box selecting remote 3D physics nodes
2025-12-01 11:48:24 +01:00
Michael Alexsander c6852a2d91 Don't show exported script variables twice in the remote inspector 2025-11-30 18:45:13 -03:00
Michael Alexsander 989ec5a6b0 Fix crash when box selecting remote 3D physics nodes 2025-11-29 19:16:27 -03:00
A Thousand Ships a872b54a3b Fix 2D builds (again) 2025-10-10 20:44:50 +02:00
Thaddeus Crews 3b04c8464c Merge pull request #107273 from DexterFstone/add-game-speed-controls
Add game speed controls to the embedded game window
2025-10-06 09:06:24 -05:00
DexterFstone 7ddce8ab26 Add game speed controls to the embedded game window 2025-10-05 11:13:15 +05:30
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 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
Mounir Tohami d9af8e0acc Fix Camera2D editor override and 2D debug templates. 2025-10-02 13:52:29 +03:00
Aaron Franke 3d1c9fd5de Move server files into their subfolders 2025-09-30 19:39:39 -07: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 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
Thaddeus Crews 21fd4faf1b Merge pull request #107469 from Ivorforce/vector-localvector-explicit-span-conversions
Remove implicit conversions between `LocalVector` and `Vector`
2025-09-30 11:19:17 -05:00
A Thousand Ships bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Lukas Tenbrink 8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
kobewi d61a337a70 Improve usage of String.split() vs get_slice() 2025-09-19 16:31:55 +02:00
Lukas Tenbrink abe3b481ae Make conversions from LocalVector to Vector explicit. 2025-09-16 21:41:28 +02:00
Yufeng Ying 5d66b0b41a Replace unneeded Vector. 2025-09-16 15:04:13 +08:00
yotam-frid b01b84e3a1 Fix single-object inspect command regression 2025-09-01 20:28:39 +02: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
Thaddeus Crews 098214b64c Merge pull request #108297 from YeldhamDev/inverse_sel_fix
Fix remote deselection not working when selection limit is reached
2025-08-11 09:55:24 -05:00
WhalesState 5eee6d22a0 Fix remaining physics and navigation disabling issues. 2025-07-12 17:12:42 +03: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
Michael Alexsander efc2ecc04c Fix remote deselection not working when selection limit is reached 2025-07-04 20:39:21 -03:00
Pāvels Nadtočajevs 43b41092a0 Add support for taking embedded window screenshots. 2025-06-09 11:40:36 +03:00
Fabio Alessandrelli f36499f9c5 Editor: Explicit parse_message handlers
Using custom macros for defining and registering message handlers hurts
readability and navigability.

This commit simplifies the ParseMessageFunc signature, expands the
macros, and streamlines initialization.
2025-06-03 13:24:58 +02:00
Thaddeus Crews 75d118fba1 Merge pull request #105034 from YeldhamDev/fix_remote_error
Fix error spam when inspecting remote nodes outside the tree
2025-05-08 07:19:35 -05:00
Thaddeus Crews b7d4426fff Merge pull request #104269 from lawnjelly/fti_scene_tree4
Physics Interpolation - Move 3D FTI to `SceneTree`
2025-04-28 10:01:34 -05:00
lawnjelly ae04a3a5dd Physics Interpolation - Move 3D FTI to SceneTree
Moves 3D interpolation from server to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-04-26 14:13:30 +01:00