Commit Graph

86 Commits

Author SHA1 Message Date
Miguel de Icaza eba4ceb0ea Node3DEditorViewport: Prevent crash while handling input
The selection might change before the user releases the mouse pointer,
and this would crash the editor.

This follows the same check that is done in ::_update_gizmos
2026-01-05 11:33:11 +01:00
kobewi 8819651847 Fix some invalid translation usages 2025-12-30 00:03:17 +01:00
Rémi Verschelde f4dab5199a Merge pull request #111748 from Calinou/doc-sdfgi-debug-probes
Document occlusion debugging in the SDFGI debug probes draw mode in the editor
2025-12-19 11:52:53 +01:00
Rémi Verschelde 68abeedba7 Merge pull request #111837 from bruvzg/objid_select
Use ObjectID to store nodes in the editor selection.
2025-12-18 23:30:54 +01:00
Pāvels Nadtočajevs 338cfba60a Use ObjectID to store nodes in the editor selection. 2025-12-18 09:16:43 +02:00
Hugo Locurcio c92ad80ec0 Fix 3D editor Emulate Numpad setting having no effect when previewing a camera 2025-12-18 01:41:58 +01:00
Hugo Locurcio b3afc74115 Document occlusion debugging in the SDFGI debug probes draw mode in the editor
This feature shows occlusion information for the selected SDFGI
probe. It can only be used in the editor, as it relies
on the `RenderingServer::sdfgi_set_debug_probe_select()` method
that isn't exposed to the scripting API.
2025-12-11 23:42:45 +01:00
Hugo Locurcio 5d80686497 Default the 3D editor to Transform mode to restore 4.5 behavior
The Select mode no longer allows moving or rotating selected nodes.
This mode was still the default until now, which results in behavior that's
inconsistent with the 2D editor.

This sets the default mode to the new Transform mode to ensure
usability out of the box is unchanged. Shortcuts and icon ordering
were also modified to best match 4.5.
2025-12-09 18:16:01 +01:00
Rémi Verschelde 3edd256a6f Merge pull request #113611 from bruvzg/mod_plus
[Editor] Fix missing "+" in the bunch of tooltips.
2025-12-05 09:38:51 +01:00
Pāvels Nadtočajevs e2b8c9f038 [Editor] Fix missing "+" in the bunch of tooltips. 2025-12-05 10:20:50 +02:00
Rémi Verschelde 8437869434 Merge pull request #112615 from YeldhamDev/inspector_props_size_fix
Fix issues with property height in the inspector
2025-12-04 15:52:40 +01:00
Rémi Verschelde 34cdf39db0 Merge pull request #113420 from Calinou/editor-use-unicode-arrows
Use Unicode arrow symbols throughout the editor
2025-12-02 14:17:28 +01:00
Michael Alexsander 034942557e Fix issues with property height in the inspector 2025-12-01 23:14:33 -03:00
Hugo Locurcio db920eb7f0 Use Unicode arrow symbols throughout the editor
This does not apply to text printed to the Output panel, as the fixed-width
font may not have the glyph in its character set (or if it does, the arrow
character may be hard to read).
2025-12-02 01:36:35 +01:00
Hugo Locurcio 2cf7af9149 Make all unsupported renderer message features consistently warnings
Previously, some messages indicating a lack of support were errors
instead of warnings. Some messages were also not shown when running
a release export template.

- Use "renderer" terminology consistently instead of "rendering method".
2025-12-01 17:38:12 +01:00
Thaddeus Crews 6e69760134 Merge pull request #111967 from Ivorforce/object-cast-to-protect
Statically protect `Object::cast_to` for unrelated `Object` types.
2025-11-25 07:06:48 -06:00
Lukas Tenbrink 0f047944e4 Statically protect Object::cast_to for unrelated Object types.
Fix a handful of bugs associated with it.
2025-11-24 23:03:22 +01:00
Thaddeus Crews 6d8ec7e7ce Merge pull request #86930 from ryevdokimov/commit-transforms-on-mode-switch
Commit transforms done with editor gizmo on tool mode switch.
2025-11-24 16:00:07 -06:00
Thaddeus Crews fb91141cd1 Merge pull request #107343 from kj-art-dev/viewport-rotation-control-visual-feedback
Visual feedback update for viewport rotation gizmo.
2025-11-24 16:00:02 -06:00
Thaddeus Crews 45ce9f09d2 Merge pull request #93436 from Calinou/3d-editor-half-resolution-use-3d-scaling
Use Viewport's 3D Scaling in the 3D editor's Half Resolution option
2025-11-20 16:47:04 -06:00
Hugo Locurcio 54a6e6784c Use Viewport's 3D Scaling in the 3D editor's Half Resolution option
This removes the reliance on Viewport shrinking, which fixes various
bugs with mouse input handling in 3D gizmos or the GridMap editor.

This also makes Half Resolution make use of the current 3D scaling
mode defined in the project setting (bilinear, FSR1 or FSR2).

When Half Resolution is checked, the Scaling 3D Scale value in the
project settings is halved in the editor. To ensure the 3D view
remaisn somewhat readable, the final value can't go below
the minimum value allowed in the project settings, which is 0.25.
2025-11-18 23:30:51 +01:00
Robert Yevdokimov 0b93712866 Rename Select Mode to Transform Mode, and create a new Select Mode without transform gizmo 2025-11-18 11:25:01 -06:00
Thaddeus Crews 4b92028e61 Merge pull request #112861 from ryevdokimov/fix-csg-preview
Fix preview CSG interfering with itself during drag and drop
2025-11-17 19:36:21 -06:00
Thaddeus Crews d9333131d0 Merge pull request #108608 from ryevdokimov/camera-view-axis-rotation
Make rotation gizmo white outline a 4th handle that rotates around the camera's view-axis
2025-11-17 19:36:17 -06:00
Hugo Locurcio d823a69237 Always use a dark background for 3D editor overlays even with light theme
This results in better readability against mixed-color backgrounds,
as what you see in the 3D editor doesn't change depending on your editor theme.

This also tweaks the viewport zoom/speed label for better readability
by using a bold font and thicker outline.
2025-11-18 02:28:27 +01:00
Robert Yevdokimov 7df165ce94 Fix preview CSG interfering with itself during drag and drop 2025-11-16 14:31:12 -06:00
kobewi f722513c08 Fix wrong EditorSettings usage in 3D editor 2025-11-15 19:45:14 +01:00
Robert Yevdokimov 9b0b9ef450 Commit transforms on editor mode switch 2025-11-14 07:11:12 -06:00
Thaddeus Crews 65beea65d8 Merge pull request #108987 from timothyqiu/plugins-list-cleanup
Clean up `EditorPluginList`
2025-11-13 17:43:01 -06:00
Thaddeus Crews 8327dfa215 Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
kobewi 98141c3d73 Replace repetitive meta/ctrl condition with a method 2025-11-10 16:23:28 +01:00
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
robert yevdokimov 3a34350666 Make rotation gizmo white outline a 4th handle that rotates around the camera's view-axis 2025-11-09 23:47:19 -06:00
Thaddeus Crews 3fb8961b00 Merge pull request #110120 from TokageItLab/ik-modifier-3d
Add `SkeletonModifier3D` IKs as `IKModifier3D`
2025-11-04 16:32:36 -06:00
Silc Lizard (Tokage) Renew bf22eb25e3 Add IKModifier3D 2025-11-04 02:38:48 +09:00
Rémi Verschelde 9a079cd2b2 Merge pull request #110428 from CookieBadger/fix-viewport-numpad-emulation
Fix numpad emulation in 3d navigation shortcuts
2025-11-01 19:05:03 +01:00
LuoZhihao ce2fae79b1 Fallback to parent class icon by default for gdextension 2025-10-31 18:03:32 +08:00
Thaddeus Crews 8afb2e5976 Merge pull request #111118 from YeldhamDev/godots_new_groove
Add a new editor theme
2025-10-30 13:51:36 -05:00
Thaddeus Crews fd89a17d2f Merge pull request #106684 from VojtaStruhar/106388-snap-settings
Change snap settings to not use LineEdits
2025-10-30 10:46:05 -05:00
Michael Alexsander e06f015f95 Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
emild e3eef8c363 fix numpad emulation in 3d navigation shortcuts 2025-10-29 16:26:54 +01:00
Thaddeus Crews c0c1c68562 Merge pull request #111600 from KoBeWi/header_shoulders
Improve Transform dialog
2025-10-27 10:01:53 -05:00
kj-art-dev 1e0ec09beb Visual feedback update for viewport rotation gizmo.
Adjusted highlight behavior for positive axes and added negative axis labels.
2025-10-25 13:43:41 -07:00
Thaddeus Crews 80f4674ff3 Merge pull request #109490 from ryevdokimov/move-rotation-lock
Move `Lock View Rotation` label logic out of process notification
2025-10-23 15:33:58 -05:00
Thaddeus Crews 6e76eb3a5d Merge pull request #102055 from ryevdokimov/condition-editor-viewport-shortcuts
Condition editor viewport nav modifier checks on freelook / mouse is captured
2025-10-21 15:10:57 -05:00
Thaddeus Crews 506abd4903 Merge pull request #102021 from ryevdokimov/remove-redunant-previewing-cinema-line
Remove redundant line when toggling cinematic preview
2025-10-21 15:10:48 -05:00
Thaddeus Crews 920fd5cb4d Merge pull request #102020 from ryevdokimov/move-viewport-gizmos-visibility-out-of-process
Move editor viewport gizmos visibility logic out of process notification
2025-10-21 15:10:46 -05:00
Thaddeus Crews 31349b062f Merge pull request #111456 from YeldhamDev/put_it_on_my_tab
Fix some dragging operations in the editor breaking when tabbing out
2025-10-21 10:27:09 -05:00
Thaddeus Crews 94818a5313 Merge pull request #111509 from passivestar/orbit-snapping
Implement orbit snapping in 3D viewport
2025-10-16 12:48:09 -05:00
passivestar d739700178 Implement orbit snapping in 3D viewport 2025-10-16 12:46:14 +04:00