Commit Graph

16 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
João Diniz 0046f29e63 Editor: Mark simple confirmation/accept dialogs as non-resizable
Adds set_flag(FLAG_RESIZE_DISABLED, true) to ConfirmationDialog and
AcceptDialog instances which only contain plain content. Dialogs
with content that could leave the borders of the dialog were kept
as resizable.

The flag is set explicitly at dialog creation time, instead of the
previous auto-detect approach. In cases of uncertainty, the dialog was
left as resizable.
2026-05-10 01:35:46 +01:00
ryevdokimov 20b80e7342 Fix Modo/Maya navigation conflicts with Path3D editor shortcuts 2026-03-13 11:14:18 -04:00
Robert Yevdokimov 3b581b19d0 Fix duplicate signal error for Path3D when switching tabs 2026-03-09 09:13:40 -04:00
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
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
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews 1b5011d08b Merge pull request #109184 from NasheethAhmedA/path_3d_curve_property_and_toolbar_sync
Update toolbar on curve change in Path3D editor
2026-02-24 09:29:09 -06:00
Silc Lizard (Tokage) Renew 163b498d39 Highlight selected points in Path3DEditor 2026-02-10 15:58:07 +09:00
Gustavo Jaruga Cruz 365f8fd038 Add option for Path3D to snap to colliders 2026-02-05 08:29:15 -03:00
Pāvels Nadtočajevs e2b8c9f038 [Editor] Fix missing "+" in the bunch of tooltips. 2025-12-05 10:20:50 +02:00
robert yevdokimov 3cfcedd6d5 Do not require editor restart when changing Path 3d Tilt Disk Size setting 2025-11-14 21:04:05 -06:00
Mike Precup 389ffd5b89 Remove spurious curve changed signals 2025-08-01 16:18:39 -07:00
Nasheeth Ahmed A 67891fee57 Update toolbar on curve change in Path3D editor
Added a signal connection to update the Path3D editor toolbar when the curve changes, ensuring the UI stays in sync with curve modifications.
2025-08-01 11:20:56 +05:30
Mike Precup 0f04d5ce53 Fix editor segfault when using a path3d without a curve3d 2025-07-28 11:35:21 -07: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