Commit Graph

187 Commits

Author SHA1 Message Date
ryevdokimov c375f0b6b3 Add vertex snap to collision shape vertices in 3D editor 2026-04-10 13:33:31 -04:00
Thaddeus Crews 5708ad13a6 Merge pull request #117923 from ryevdokimov/follow-subgizmo
Reset follow mode count on subgizmo point switch
2026-04-10 10:32:28 -05:00
Thaddeus Crews ee441aa00a Merge pull request #117922 from ryevdokimov/subgizmo-vertex-snap
Add vertex snap support for subgizmo points
2026-04-10 10:32:27 -05:00
Thaddeus Crews a66b9ec3f1 Merge pull request #116156 from ryevdokimov/view-axis-gizmo-no-restart
Make changing `view_plane_rotation_gizmo_scale` not require editor restart
2026-04-08 09:25:44 -05:00
Thaddeus Crews c3afd5b8e1 Merge pull request #116238 from ryevdokimov/restore-polyline-arc
Restore `canvas_item_add_polyline` useage for transform gizmo rotation arc
2026-04-08 09:25:43 -05:00
Thaddeus Crews d223178c48 Merge pull request #116194 from ryevdokimov/fix-rotation-line
Fix rotation line not showing during instant rotate
2026-04-08 09:25:41 -05:00
Thaddeus Crews 0afbee0099 Merge pull request #116159 from ryevdokimov/fix-gizmo-handle-highlight
Immediately update transform gizmo handle highlight when changing tool modes
2026-04-06 13:02:26 -05:00
ryevdokimov fd5332c8e9 Fix 3D zoom indicator not showing in editor 2026-04-01 21:11:17 -04:00
Thaddeus Crews c708da3a2d Merge pull request #106785 from ryevdokimov/measure-tool-components
Add vector components to 3D ruler tool
2026-03-31 10:46:47 -05:00
ryevdokimov 59e6ff8cc5 Reset follow mode count on subgizmo point switch 2026-03-27 22:54:21 -04:00
ryevdokimov 2a11b31b50 Add vertex snap support for subgizmo points 2026-03-27 22:38: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