Commit Graph

13 Commits

Author SHA1 Message Date
smix8 eb00a8546d Split Node3DEditorViewport into a dedicated file
Splits `Node3DEditorViewport` into a dedicated file.

The main `Node3DEditorPlugin` file was one if the biggest files of the entire engine. It was getting way too big to be viewed, parsed and displayed effectively (e.g. GitHub, certain IDEs). While still big after this PR it at least splits it more or less in half.

- Moves `Node3DEditorViewport` and related helper classes to its own file `node_3d_editor_viewport` file.
- Moves the (shared) constexpr to its own file `node_3d_editor_constants` file.
- Forward declares many more classes.
- Removes unnecessary includes.
- Fixes classes that needed the actual Node3DViewport class.
2026-06-19 17:30:50 +02:00
Thaddeus Crews 0d5268d9a4 Merge pull request #115911 from KoBeWi/can_commit_pls👉👈
Expose `_can_commit_handle_on_click()`
2026-05-14 09:06:49 -05:00
ryevdokimov c375f0b6b3 Add vertex snap to collision shape vertices in 3D editor 2026-04-10 13:33:31 -04:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06: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
Thaddeus Crews 4ce9ef043a Merge pull request #111016 from almic/patch-1
Remove dead code in `node_3d_editor_gizmos.cpp`
2026-02-17 14:03:53 -06:00
kobewi 4b9d01d1d3 Expose _can_commit_handle_on_click() 2026-02-05 16:23:55 +01:00
Elliot Valeev 1ce77b8899 Fix wrong AABB when selecting Node3D gizmo in editor 2025-11-15 10:35:36 +05:00
Aaron Franke 9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
Mick A. 7e8e9398ce Remove dead code
Remove a section of code whose results are
overwritten by the code below.
2025-09-28 16:50:35 -06:00
Robert Yevdokimov 060f9b7a16 Do not commit gizmo handles if no changes were made 2025-07-09 14:31:02 +04:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00