Commit Graph

12 Commits

Author SHA1 Message Date
aaronp64 7e4d635c2f Fix Camera3D gizmo representation to accurately reflect FOV
Updated gizmo drawing to keep depth proportional to width or height based on whether FOV is horizontal or vertical.
2025-03-07 14:33:54 -05:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Thaddeus Crews 30ab612e35 Merge pull request #90778 from timothyqiu/cam-preview
Add Camera3D preview in Inspector
2024-11-27 10:46:59 -06:00
A Thousand Ships dd6443193c [Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
A Thousand Ships 0c3b975ada Fix compilation issues caused by far identifier
Breaks some builds on Win due to macro use of this name
2024-08-19 11:13:56 +02:00
Haoyu Qiu 75eacba5cd Add Camera3D preview in Inspector 2024-05-05 16:15:49 +08:00
jsjtxietian b97d995664 Adjust orthographic camera gizmo with respect to "keep_aspect" setting 2024-04-16 12:50:00 +08:00
jsjtxietian b0ccd5c84f Prompt require editor restart to user when gizmo color changed 2023-10-06 15:02:03 +08:00
Yuri Sizov 8ecc0c4f47 Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
kobewi 6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
Hugo Locurcio e21388d9f4 Readd a Camera3D icon gizmo to the 3D editor, renew Camera2D/3D icons
The lack of icon gizmo made it no longer possible to select Camera3D
nodes in the 3D viewport by clicking on them.

A new Camera3D icon gizmo was designed to be direction-neutral.
This avoids the issue that the previous icon gizmo had, since it was
always facing right.

This also adds icons for CameraAttributesPractical and CameraAttributesPhysical.
2023-08-08 16:04:53 +02:00
smix8 808af8e837 Split Node3DGizmos into dedicated files
Splits Node3DGizmos into dedicated files.
2023-04-20 20:12:47 +02:00