6 Months Ago
add support for multiple scene views, orthographic scene views, and configurable grid axis add keybind to cycle camera plane around selection refactor bits into SceneEditorViewport, re/store gizmo settings alongside viewport cookie rework to single layout and splitter, disable new tab creation for now add support for per-widget toolbar actions save/restore sceneview layout move viewport/instance gizmo settings to EditorCookie from ProjectCookie move save/restore viewport cookies to addon space no reason to copy+set camera transform anymore use active SceneOverlayWidget directly use a single toolmanager instance fix nudging remove some global gizmoinstance refs tuck camera alignment shortcuts away in camera menu maintain layout config when toggling viewport fullscreen remove log camera fixes: make orthographic clipping more predictable, add smooth(er) perspective/ortho transitions, fix gizmotest widget, reenable scene camera copy add setting to lock scene camera rotation fix incorrectly sized gizmo hitboxes in ortho view replace remaining direct scene camera transform accessors tweak sprite gizmo hitbox scale in ortho views cleanup scene tick/draw flow with multiple viewports replace legacy global GizmoInstance snip unneeded multi-tab leftovers use state/gizmo settings for scene view control replace remaining ray length with Gizmo.RayDepth don't try to save scene-specific viewport config for untitled scenes use alternate check for IsUnderMouse move viewport settings to ViewportState from GizmoSettings, use shared gizmo settings for all viewports shift camera settings to EditorPreferences, simplify viewport options restore single EditorScene gizmo settings revert camera extension changes, fix pan and orbit zoom, tidy use hammer's linked splitters for uniform viewport resizing Misc fixes Move EnablePostProcessing from GizmoSettings to ViewportState Default each viewport to a unique perspective Misc post-scenetab fixes Hide skybox in 2d views Split scene view layout/viewport classes into separate files Tidy Use frustum RayDepth for terrain, hitbox traces Make 2d clipping less crap Use black background for 2d views We don't need to do this anymore Fix perpendicular rotation handles being unusable in ortho views Fix 2d box selection: Frustum.FromCorners does ortho properly, gizmo tweaks Use correct gizmo settings for dragdrop Use correct plane for 2d view drag drop Prevent map cookie from overriding 2d viewmode rotation Draw grid on top in 2d views Merge branch 'master' into hackweek-multi-scene-view Add Widget.GetAncestor<T> Move Grid, Scene toolbars to header bar, remove SceneViewToolbar Fix warnings HeaderBar switch layout Tweak viewport menu, so you can see the checkboxes Merge pull request #1582 from Facepunch/hackweek-multi-scene-view Multi-viewport and Ortho Scene views