Commit Graph

172 Commits

Author SHA1 Message Date
ryevdokimov 59e6ff8cc5 Reset follow mode count on subgizmo point switch 2026-03-27 22:54:21 -04:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Rémi Verschelde 9af848159b Merge pull request #117606 from danbolt/daniel-savage/update-snap-on-transform
Dynamically check for 3D editor snapping state
2026-03-23 22:35:16 +01:00
Rémi Verschelde 987c77f02f Merge pull request #116019 from ryevdokimov/save-viewport-splitter-ratio
Persist editor viewport splitter ratios on editor restart
2026-03-23 22:34:06 +01:00
Daniel Savage 5baffba0fe Editor: Poll snapping state when updating a transform 2026-03-20 10:09:51 +09:00
Lukas Tenbrink 05c33acbb1 Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference. 2026-03-18 20:34:08 +01:00
Thaddeus Crews f8d2e19bf6 Merge pull request #117380 from ryevdokimov/vertex-snap-future
Add 3D vertex snap base setting (Vertex/Origin)
2026-03-17 13:44:07 -05:00
ryevdokimov 7047d150e5 Add 3D vertex snap base setting (Vertex/Origin) 2026-03-16 17:16:42 -04:00
Robert Yevdokimov 6303078162 Persist editor viewport splitter ratios on editor restart 2026-03-14 21:34:23 -04:00
Robert Yevdokimov 055a6e7b40 Add freelook and navigation control to preview camera 2026-03-14 10:58:09 -04:00
Rémi Verschelde bc344d5845 Merge pull request #117235 from ryevdokimov/vertex-snap
Add vertex snapping to the 3D editor
2026-03-14 12:16:16 +01:00
Rémi Verschelde 77264a7087 Merge pull request #116972 from ryevdokimov/focus-subgizmo
Fix 3D focus selection for subgizmos
2026-03-14 12:16:03 +01:00
ryevdokimov 331541b25a Add vertex snapping to the 3D editor 2026-03-12 10:34:09 -04:00
Thaddeus Crews c410547bfa Merge pull request #116910 from ryevdokimov/redraw-3d-overlay-on-nav
Fix 3D editor overlay not redrawing on camera navigation
2026-03-12 09:03:42 -05:00
Thaddeus Crews fcb7c06646 Merge pull request #109680 from ryevdokimov/preserve-children-transform
Add ability to transform parent nodes without affecting global transform of its children
2026-03-12 09:03:36 -05:00
ryevdokimov 28ebd60ce2 Reset follow mode focus count after committing a transform 2026-03-10 09:52:17 -04:00
Thaddeus Crews a1eaac8171 Merge pull request #117214 from ryevdokimov/reset-follow-count
Reset follow mode focus count on selection change
2026-03-09 15:18:26 -05:00
Thaddeus Crews 88cd7ab378 Merge pull request #105791 from ryevdokimov/cancel-navigation
Add the ability to cancel pan/zoom/orbit navigation
2026-03-09 15:18:26 -05:00
Robert Yevdokimov 05c915566c Add the ability to cancel pan/zoom/orbit navigation 2026-03-09 12:20:02 -04:00
ryevdokimov 51f952fe12 Fix 3D editor overlay not redrawing on camera navigation 2026-03-08 20:24:56 -04:00
ryevdokimov 005a661bd0 Reset follow mode focus count on selection change 2026-03-08 03:16:13 -04:00
kit 90be4208e8 Use SplitContainer for Node3D Editor viewports 2026-03-07 20:39:36 -05:00
Robert Yevdokimov e8e3cf1fdb Add ability to transform parent nodes without affecting global transform of its children
Revert
2026-03-07 09:23:50 -05:00
Thaddeus Crews 48897bb5df Merge pull request #92080 from Nodragem/make-dropping-tooltip-consistent
Make resource drop tooltip consistent between 2D and 3D
2026-03-06 12:40:18 -06:00
Geoffrey Mégardon b8b3e66c1b improve tooltips when dropping files in viewport
remove can_instantiate
2026-03-06 11:25:31 +00:00
Michael Alexsander 27c86165f7 Add View3DController for editor 3D view manipulation 2026-03-05 12:51:48 -03: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 d5e2ac7e02 Merge pull request #116991 from jazztickets/freelook_invert_y_axis
Add separate Freelook Invert Y Axis option
2026-03-04 11:20:37 -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 f332faf46b Explicitly include core/os/os.h where used 2026-03-04 09:54:10 +01:00
jazztickets 4c3b3744dd Add separate Freelook Invert Y Axis option 2026-03-02 18:04:46 -07:00
Hugo Locurcio 040e19e75d Add "Follow Selection" in the 3D editor by using Center Selection twice
When pressing the Focus Selection shortcut twice, you will begin following
the current selection. This also applies to selection changes.

The effect is undone by pressing the Focus Selection shortcut another
time, using the Focus Origin shortcut, or by panning/using freelook
on the 3D editor camera. (Orbiting or switching between perspective and
orthogonal does not undo the effect.)

Co-authored-by: Robert Yevdokimov <robert.yevdokimov@autStand.com>
2026-03-02 19:24:01 +01:00
Robert Yevdokimov 20d540f943 Fix 3D focus selection for subgizmos 2026-03-02 13:03:16 -05:00
Thaddeus Crews f630133a01 Merge pull request #116826 from Repiteo/style/class-db-explicit-include
Style: Add `class_db.h` includes explicitly
2026-02-26 16:18:45 -06:00
Thaddeus Crews 77c66698e6 Merge pull request #116248 from KoBeWi/ReloadHD
Rework updating editor viewport HDR
2026-02-26 16:18:39 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
kobewi 7e2d260e68 Rework updating editor viewport HDR 2026-02-26 17:52:53 +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
Thaddeus Crews 42ac04d9a9 Merge pull request #116023 from ryevdokimov/splitter-fail
Fix using editor viewport splitters failing sometimes
2026-02-24 09:29:17 -06:00
Michael Alexsander a7575e94d6 Make tooltips from all editor modes inform about the selection menu shortcut 2026-02-20 16:23:10 -03:00
passivestar 23df31ece4 Don't tint the preview camera icon 2026-02-20 12:24:04 +04:00
DinkeyKing 4e95d26c97 Fix 3D editor camera not updating correctly 2026-02-19 15:00:47 +01:00
Thaddeus Crews 7eedf1846f Merge pull request #105045 from ryevdokimov/fix-load-from-project-settings
Fix issues with `InputMap::load_from_project_settings()` when called in tool script
2026-02-16 15:02:43 -06:00
Thaddeus Crews 3294d50d82 Merge pull request #116075 from ryevdokimov/arc-sync
Fix gizmo rotation arc and applied transform not being in sync
2026-02-12 08:19:15 -06:00
Josh Jones b8389cc76b Support output to HDR monitors
Co-authored-by: Alvin Wong <alvinhochun@gmail.com>
Co-authored-by: Allen Pestaluky <allenpestaluky@gmail.com>
2026-02-11 22:13:26 -07:00
Robert Yevdokimov d613138aa4 Fix gizmo rotation arc and applied transform not being in sync 2026-02-11 13:02:37 -05:00
Thaddeus Crews e4d449f4b4 Merge pull request #115871 from ryevdokimov/arc-line-snap
Fix transform gizmo rotation arc line not snapping with snap rotation
2026-02-11 10:27:03 -06:00
Thaddeus Crews 152f142788 Merge pull request #115992 from ryevdokimov/fix-trackball-highlight
Fix trackball not highlighting immediately when toggling `Use Trackball`
2026-02-11 10:27:01 -06:00
Thaddeus Crews ec297f8bb3 Merge pull request #114717 from TokageItLab/gizmo-opt
Add `view_plane_rotation_gizmo_scale` to EditorSettings & make color darken
2026-02-10 08:29:45 -06:00
Robert Yevdokimov c899f017e2 Make it so consecutive presses of Begin Rotate Transformation shortcut enables trackball rotation 2026-02-09 18:19:53 -05:00