Commit Graph

376 Commits

Author SHA1 Message Date
8af8d50de1 Remove Editor viewport aspect ratio scaling from camera mouse movement
Rescaled the final mouse delta values to roughly matching default
viewport width in 1080p resolution.
2024-04-09 20:06:35 +03:00
rkrahn
d331e6b848 Merge remote-tracking branch 'upstream/master' 2024-03-29 13:38:38 -07:00
Wojtek Figat
70b2e4aa5a Fix snapping to the ground actor when viewport is not focused
#2342
2024-03-20 12:13:09 +01:00
Wojtek Figat
155b4a3ba9 Refactor editor gizmo viewports to use shared code for widgets 2024-03-19 17:53:45 +01:00
Wojtek Figat
12e2b8156f Fix UI prefab focus on canvas not being added as root 2024-03-18 20:31:17 +01:00
Wojtek Figat
91298fee19 Fixes for UI editor changes 2024-03-18 15:32:42 +01:00
Wojtek Figat
795527576b Add dynamic UI mode checking for Prefab Viewport 2024-03-18 15:20:05 +01:00
Wojtek Figat
b847c2d056 Fixes 2024-03-17 18:27:59 +01:00
Wojtek Figat
c60244878d Add **UI Control gizmo for editing UIs** 2024-03-16 22:00:40 +01:00
Wojtek Figat
8d149b94f1 Refactor editor viepwort camera to unify focusing on selected objects 2024-03-16 16:46:10 +01:00
Wojtek Figat
f4033578c3 Refactor UI Control linkage in the prefab previews to prevent bugs 2024-03-12 17:48:51 +01:00
Wojtek Figat
66b68bff27 Cleanup editor viewports code 2024-03-12 17:48:16 +01:00
Wojtek Figat
94520d30ad Fix debug shapes from prefab window visible in main viewport 2024-03-12 13:22:01 +01:00
Wojtek Figat
8f2bc17a94 Improve UI Control selection outline drawing 2024-03-11 23:34:35 +01:00
Wojtek Figat
4ee15f95bb Fix missing debug shapes in prefab window 2024-03-11 23:31:45 +01:00
rkrahn
eac553a992 Add toggle orthographic view hotkey
Adds the Toggle Orthographic hotkey to the editor. Bound to 'NumpadDecimal' by default.
2024-03-10 13:49:14 -07:00
Wojtek Figat
0604a0393d Fix error in Editor when Audio Clip duration is very small
#2286
2024-03-04 21:20:25 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
8bcf4fdaf0 Cleanup and improve #2045 2024-02-24 12:53:33 +01:00
Wojtek Figat
8fa8eeb094 Optimize Matrix decomposition to use Matrix3x3 for rotation 2024-02-20 17:51:48 +01:00
Wojtek Figat
2de890ca6a Codecleanup for #1482 2024-02-19 17:33:21 +01:00
Wojtek Figat
47313eacc8 Merge branch 'focusSelection' of https://github.com/nothingTVatYT/FlaxEngine into nothingTVatYT-focusSelection 2024-02-18 16:04:43 +01:00
Wojtek Figat
dfbde5f8eb Remove debug draw 2024-02-18 10:47:24 +01:00
Wojtek Figat
45241d63bd Merge branch 'arrow-debug-draw-improviment' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-arrow-debug-draw-improviment 2024-02-18 10:39:16 +01:00
Wojtek Figat
465c14c04a Remove leftover log 2024-02-06 15:06:29 +01:00
Wojtek Figat
b2d0afd4ef Simplify code in #2202 for script type searching 2024-02-06 11:09:08 +01:00
Chandler Cox
f306d34a6e Add drag drop for actor script items into scenes and prefabs. 2024-01-23 08:34:15 -06:00
z1dev
e0cb94ec74 Fix for editor view's cached "CameraNearPlaneValue" getting overwritten.
Changing the editor's camera sometimes results in empty views in editors. It was caused by writing the _farPlane with the wrong name in the cache.
2024-01-02 00:08:00 +01:00
Mr. Capybara
3c19262574 Add parameter to change arrow cap size 2023-12-17 10:15:41 -04:00
Chandler Cox
9a712ba3cf Fix selecting objects/gizmos with high far plane. 2023-12-02 09:12:38 -06:00
nothingTVatYT
03d629f0e1 calculate follow selection on FOV and far plane 2023-11-27 04:19:45 +01:00
Wojtek Figat
70a540da4a Refactor main editor viewport and prefab viewport to share dragging handling code 2023-11-20 10:48:16 +01:00
Wojtek Figat
13881c7d97 Merge branch 'LightThemeTweaks' of https://github.com/Radiangames/FlaxEngine into Radiangames-LightThemeTweaks 2023-11-13 17:02:12 +01:00
Wojtek Figat
d8a54692f0 Code cleanup #1785 2023-11-09 09:10:25 +01:00
Wojtek Figat
30ca7d52d0 Merge branch 'custom-model-matpv' of https://github.com/Menotdan/FlaxEngine into Menotdan-custom-model-matpv 2023-11-09 09:06:26 +01:00
Wojtek Figat
daf31cfa4d Format code #1611 2023-10-25 14:57:44 +02:00
Wojtek Figat
7c84ca5b84 Merge branch 'feat/improved-camera-settings' of https://github.com/solnem/FlaxEngine into solnem-feat/improved-camera-settings 2023-10-24 14:50:52 +02:00
Menotdan
8982961254 Add custom material option to Material Preview. 2023-10-23 22:10:17 -04:00
Wojtek Figat
f1575da171 Merge branch 'debug-view-cm' of https://github.com/Tryibion/FlaxEngine into Tryibion-debug-view-cm 2023-10-14 16:28:39 +02:00
Chandler Cox
7b984396cc Add not to close Debug View CM on button clicked. 2023-10-13 20:52:26 -05:00
NoriteSC
13686ae13f Fix 436 and 1251 2023-10-13 00:20:34 +02:00
Wojtek Figat
daaba49e26 Merge branch 'editor_camera_transform_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_camera_transform_fix 2023-10-12 15:26:45 +02:00
Wojtek Figat
4ac65ee91c Fix audio preview for multi-channel audio clips 2023-10-12 14:31:41 +02:00
02a219a376 Fix Editor viewport camera transformation getting corrupted when focused 2023-10-11 21:45:07 +03:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
4db1975f02 Fix Editor viewport camera drifting with odd viewport sizes 2023-10-08 17:28:28 +03:00
Christopher Rothert
5e85fa2c0c Merge branch 'master' into feat/improved-camera-settings 2023-10-08 01:41:05 +02:00
Christopher Rothert
966e5cdda2 Update some comments 2023-10-08 01:40:50 +02:00
Christopher Rothert
997c442e69 Update movement speed formatting
* add property for movement speed text format
* add additional checks to camera speed progress calculation
* round movement speed to make it visually more appealing in the context menu
2023-10-08 01:07:36 +02:00
Christopher Rothert
00aa54cde8 Update camera speed stepping and easing
* remove complex curve function
* update camera easing feature to use Mathf.Pow instead
* add total camera speed steps to ViewportOptions
* change default value for max camera speed from 64 to 32
* update ViewportOptions ordering and grouping
* update string format for movement speed
2023-10-07 02:40:52 +02:00