Commit Graph

15 Commits

Author SHA1 Message Date
kobewi e1ebc537ce Fix broken panning in floating editors 2026-03-30 16:48:19 +02:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +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
Rémi Verschelde f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +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
kobewi 9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
kobewi 66802874e3 Use EditorDock for Polygon2D editor 2025-11-29 22:27:13 +01:00
Nikita Samusev 209986bde0 Highlight points on hover in the Polygon2D editor 2025-11-14 23:37:58 +03:00
kobewi 98141c3d73 Replace repetitive meta/ctrl condition with a method 2025-11-10 16:23:28 +01:00
kobewi 865a2b0ec5 Fix Polygon2D editor undo crash 2025-10-31 15:08:27 +01:00
xuhuisheng 800ff0e01e fix snap Polygon2D editor 2025-09-28 12:52:13 +08:00
aaronp64 aaaa840568 Use point_grab_radius setting in Polygon2DEditor bottom panel editor
Updated Polygon2DEditor bottom panel editor to use point_grab_radius setting instead of fixed value, similar to grab behavior in main 2D editor panel.  Also updated closest point detection to better handle overlapping grab areas.
2025-08-05 17:42:44 -04:00
Nikita Samusev abfa249686 Fix selecting wrong vertices in the Polygon2D editor when adding a polygon 2025-07-05 16:12:43 +03: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