Commit graph

167 commits

Author SHA1 Message Date
Rémi Verschelde
18edfa5245
Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
StarryWorm
3cb2d376f8 Get rid of all unnecessary class_db.h includers 2026-03-04 17:40:05 -05:00
Thaddeus Crews
e72018ee34
Merge pull request #116786 from jaydensipe/remote-read-only
Make constants READONLY in remote scene view
2026-03-04 14:32:32 -06: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
Jayden Sipe
f5fb5ef6a5 Use readonly on constants in remote scene view 2026-02-27 22:51:28 -05:00
Danil Alexeev
f4b1d4b185
Editor: Fix display of objects in the Remote Inspector 2026-02-27 17:54:33 +03:00
Rémi Verschelde
cb9b4cff90
Decouple MeshStorage from RenderingServer
By moving RS::SurfaceData and RS::MeshInfo to RenderingServerTypes.

This notably allows removing RS dependency from `mesh.h`.
2026-02-25 20:17:28 +01: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
Rémi Verschelde
ad4b910a10
Minimize include dependencies of display_server.h
- Removes `native_menu.h` dependency from `display_server.h`.
  It's now forward-declared in all DisplayServer implementations and should
  be included in the .cpp's.
- Removes some unused `rb_set.h` and `rb_map.h` dependencies, which leads to
  having to include them explicitly in half the scene and editor codebase...
  which shows how much we depend on `display_server.h`.
- Forward-declare `input_event.h`, so now we need only `keyboard.h`.
2026-02-17 19:45:31 +01:00
Danil Alexeev
376b2d8f57
Improve display of non-exported members in Remote Tree Inspector 2026-02-01 12:22:50 +03:00
A Thousand Ships
2bd998afc3
[Buildsystem] Fix non-3D builds
Restructure of the debugger caused `Node` to be undeclared in non-3D
builds (normally declared in `resource.h`)
2026-01-30 18:42:05 +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