Commit Graph

130 Commits

Author SHA1 Message Date
Thaddeus Crews 76cd830ba9 Merge pull request #113895 from migueldeicaza/prevent-gizmo-crash
Node3DEditorViewport: Prevent crash while handling input.
2026-01-05 10:18:03 -06:00
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
Miguel de Icaza 9c7669d32c Prevent BonePropertiesEditor crash due to skeleton use-after-release
This fixes an error we caught in the wild via crash reporting.

It is possible for the BonePropertiesEditor to keep a reference
to a skeleton that is deleted behind its back, and then dereference
and crash.

Additionally, this used to remove signals that might not have been
set, so this guards against these warnings as well.
2026-01-05 11:08:56 +01:00
Rémi Verschelde fa740ac5f3 Merge pull request #114431 from TokageItLab/fix-limitation-gizmo-on-root
Fix IKModifier/JointLimitation gizmo on root bone and dirty handling
2026-01-01 16:47:39 +01:00
Silc Lizard (Tokage) Renew 8a4fec4397 Fix IKModifier/ JointLimitation gizmo on root bone and dirty handling 2025-12-30 08:15:26 +09: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
Rémi Verschelde 65c8c3dbca Merge pull request #113458 from Calinou/editor-3d-default-transform-mode
Default the 3D editor to Transform mode to restore 4.5 behavior
2025-12-09 19:54:31 +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 66b6ea492f Merge pull request #113706 from lodetrick/unused-and-forgotten
Codestyle: Remove unused private variables in `godot/editor`
2025-12-09 17:17:18 +01:00
Logan Detrick 17c7a3b817 Remove unused private variables in godot/editor 2025-12-07 02:55:08 -08: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 5144ee81cd Merge pull request #108546 from ryevdokimov/path3d-no-restart
Do not require editor restart when changing Path 3d Tilt Disk Size setting
2025-11-24 15:59:58 -06:00
Thaddeus Crews 7ec0243f10 Merge pull request #110376 from TokageItLab/mod-keying
Add option to keying modified transform by `SkeletonModifier3D`
2025-11-21 18:37:28 -06:00
Silc Lizard (Tokage) Renew f4244fd61c Tweak/Add skeleton modifier keying button to top of the Viewport 2025-11-22 07:45:02 +09: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
Thaddeus Crews 16d3ba7982 Merge pull request #111589 from KoBeWi/notification_not_signal
Fix wrong EditorSettings usage in 3D editor
2025-11-17 10:56:59 -06:00
Thaddeus Crews c7bed1e1cc Merge pull request #111815 from TokageItLab/bone-expander
Allow Spring / IK to set mutable bone axes
2025-11-17 10:56:52 -06:00
Thaddeus Crews 9cebf8d957 Merge pull request #112666 from Oblepikha/fix-child-light-selection
Fix wrong AABB when selecting Node3D gizmo in editor
2025-11-17 10:56:36 -06:00
Silc Lizard (Tokage) Renew 031fd66fed Add mutable_bone_axes to IKs 2025-11-17 09:45:31 +09: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
Silc Lizard (Tokage) Renew c6ab601364 Fix read-only state for Skeleton and Inspector 2025-11-15 23:10:15 +09:00
Elliot Valeev 1ce77b8899 Fix wrong AABB when selecting Node3D gizmo in editor 2025-11-15 10:35:36 +05: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
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