Commit Graph

760 Commits

Author SHA1 Message Date
8f6bb119f4 Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
1e595a0aa7 Merge pull request #103053 from Peelep/preview-sun-env-undoredo
Add UndoRedo actions to preview sun/environment popup
2025-03-28 17:29:58 +01:00
17db92b8b8 Clarify API for top selected nodes in EditorSelection and make public 2025-03-27 16:09:08 -07:00
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
419ef1b7ca Add UndoRedo actions to preview sun & env 2025-03-26 18:26:19 +02:00
1abde8ce48 Fix 3D view menu gizmo icons being broken in empty scene 2025-03-22 21:12:44 +04:00
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
df80265d3a Eliminate interior mutability in get_selected_node_list. 2025-03-14 02:38:02 +08:00
4e9b7976ce Merge pull request #103845 from aaronfranke/fix-ed-stuck-cam-nonfin-xform
Fix stuck editor cameras and fix 3D error spam for non-finite transforms
2025-03-13 08:57:25 -05:00
bebe037abf Add ConstIterator to Dictionary. 2025-03-13 01:28:46 +08:00
3c03566d2e Merge pull request #102281 from ryevdokimov/selection-box-color-no-restart
Do not require editor restart when changing selection box color
2025-03-11 19:54:43 -05:00
8a6804b197 Do not require editor restart when changing selection box color 2025-03-12 03:38:44 +04:00
5472936b69 Disable debug draw modes in the 3D editor according to current rendering method
- Add tooltips to some debug draw modes, including when it's unsupported
  due to the current rendering method in use.
- Improve documentation related to debug draw modes.
2025-03-12 00:10:24 +01:00
23979663d0 Merge pull request #98133 from aaronfranke/view-layout-menu
Rename internal `view_menu` in 3D editor code
2025-03-11 16:54:07 -05:00
37fed7790e Merge pull request #102176 from ryevdokimov/fix-local-space-gizmo-basis
Add "active" state to one of the multiple selected Node3Ds to determine basis in Local mode
2025-03-11 16:54:00 -05:00
c7649f4f9c Fix stuck editor cameras and fix 3D error spam for non-finite transforms 2025-03-08 23:10:30 -08:00
4f1bcbd97f Rename internal view_menu in 3D editor code 2025-03-08 02:06:56 -08:00
4cd2d9e210 Use physical keys for the Q/W/E/R 3D editor shortcuts
This ensures they work consistently regardless of keyboard layout,
like freelook already does. The intent is to use the first 4 letter
keys on the top row of the keyboard.
2025-03-04 00:11:17 +01:00
b853aceece Merge pull request #102286 from ryevdokimov/fix-collision-reposition-csgshape
Fix collision reposition with `CSGShape3D`
2025-02-13 10:15:41 -06:00
6f0a0ba408 Fix collision reposition with CSGShape3D 2025-02-13 19:31:58 +04:00
5878b880ae Add "active" state to one of the multiple selected Node3Ds to determine basis in Local mode 2025-02-03 16:57:30 +04:00
b567709fdd Fix visible viewport gizmos when preview camera is enabled on startup 2025-01-25 15:01:38 +04:00
2f6a18f7ff Merge pull request #101409 from TokageItLab/spring-bone
Implement SpringBoneSimulator3D to wiggle chained bones
2025-01-14 00:22:11 +01:00
5472558a98 Implement SpringBoneSimulator3D to wiggle chained bones
Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
2025-01-14 05:43:57 +09:00
0332cee3d4 Merge pull request #101404 from ryevdokimov/mouse-enter-signal-to-notification
Change editor viewports gizmos mouse enter/exit from using signals to notifications
2025-01-10 23:06:47 +01:00
a8f3c9727e Add ability to cancel rotation from viewport rotation gizmo 2025-01-10 15:41:06 -05:00
d17cf852e3 Change editor viewports gizmos mouse enter/exit from using signals to notificatons 2025-01-10 13:41:49 -05:00
f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
d484e23bce Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
442f11462d Merge pull request #99994 from kitbdev/fix-editor-viewport-group-anim
Allow Viewport children to lock, group, and insert keyframes
2025-01-03 00:48:09 +01:00
e689c122a6 Add visualization of 3D particle emission shapes
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
d60c0e21a6 Merge pull request #88313 from wagnerfs/run-time-anisotropic-filtering
Allow changing the anisotropic filter level at run-time per Viewport
2024-12-17 16:18:38 +01:00
c5f0d571b5 Merge pull request #97985 from RobProductions/add-tablet-nav-preset
Add `Tablet/Trackpad` 3D navigation preset
2024-12-12 16:13:24 -06:00
19e003bc08 Merge pull request #100306 from Uumutunal/master
Fix 3D editor snap setting values not being displayed correctly
2024-12-12 14:10:28 +01:00
1bc70fe2e8 Fix 3D ruler theme overrides 2024-12-12 13:13:36 +01:00
63b91381ab Fix 3D editor snap setting values not being displayed correctly 2024-12-12 11:37:24 +03:00
a5cf24cb16 Merge pull request #100162 from ryevdokimov/measure-mode-3d
Add ruler mode to 3D
2024-12-11 17:35:46 -06:00
9a8d6628de [Scene] Add SceneStringName::hover 2024-12-11 11:11:25 +03:00
e2ed286d2d Add measure mode to 3D 2024-12-10 10:30:49 -05:00
ba39b078f5 [Scene] Add SceneStringName::FlatButton 2024-12-10 11:12:26 +03:00
174e659a48 Add 3D translation sensitivity to Editor Settings 2024-12-05 22:50:52 +01:00
bd47e4f1ba Add Tablet/Trackpad nav preset
This commit adds a new navigation preset called `Tablet/Trackpad` which enables "Emulate 3 Button Mouse" to more quickly set up good default keys for tablet users.

It also adds support for mouse buttons 4 and 5 in the navigation settings which will be helpful if users want to customize 3D navigation further for specific pens/mice.
2024-12-04 13:02:11 -05:00
kit
159d70a470 Allow Viewport children to lock, group, and key 2024-12-03 20:14:29 -05:00
8ca1605bbb Fix default preview environment sky.
Fixes the horizon color being grey even when both
the sky and ground colors are set to black, and
makes the energy slider affect both hemispheres
rather than only affecting the top "sky" portion.
2024-12-03 02:34:33 -07:00
6995b6a03e Allow changing the anisotropic filter level at run-time per Viewport 2024-11-30 00:50:45 -03:00
60c6c4a1da Merge pull request #99795 from YeldhamDev/selection_menu_for_all!
Make the alt selection menu available for all modes
2024-11-29 22:51:20 +01:00
6ad82aba3b Allow tool scripts to alter transform of Node3DEditorViewport camera 2024-11-29 18:48:01 +01:00