Commit Graph

8 Commits

Author SHA1 Message Date
Lauren Ridge
c8e890c48a Fixes for CIS errors (missing includes, shadow variables)
#rb none

[CL 3349235 by Lauren Ridge in Dev-VREditor branch]
2017-03-16 08:38:06 -04:00
Lauren Ridge
e2f6f97611 Merging //UE4/Dev-Main to Dev-VREditor (up to CL 3341151)
#rb none

[CL 3344122 by Lauren Ridge in Dev-VREditor branch]
2017-03-13 17:47:06 -04:00
Lauren Ridge
f361d5ae54 Merging //UE4/Private-Geometry to Dev-VREditor (//UE4/Dev-VREditor) 3339870
#rb Mike.Fricker

[CL 3340396 by Lauren Ridge in Dev-VREditor branch]
2017-03-09 16:53:09 -05:00
Lauren Ridge
d97b8e9365 Mesh trail root component visibility was incorrectly propogating to children
#codereview Mike.Fricker, Yannick.Lange

#rb  none

[CL 3246909 by Lauren Ridge in Dev-VREditor branch]
2017-01-04 16:32:03 -05:00
Lauren Ridge
93adc9739e Making sequencer mesh trails non-selectable, so that only keys are transformable.
#codereview Mike.Fricker, Yannick.Lange

#rb none

[CL 3246628 by Lauren Ridge in Dev-VREditor branch]
2017-01-04 14:49:18 -05:00
Mike Fricker
f177c0a46b ViewportInteraction refactoring; miscellaneous VREditor improvements
- This merge contains various changes to ViewportInteraction and VR Editor to make things more extensible
       - Some changes are from Yannick's recent shelved refactoring work, that I've modified and improved upon
       - EditorWorldManager is gone and replaced by EditorWorldExtensionManager
       - EditorWorldExtensions are sort of like a more modern version of 'FEdMode', but still a work in progress
       - Cleaned up access to VREditorMode from other modules, forcing systems to go through EditorWorldExtensions

- Overhauled how transforming objects works with world interaction
       - Viewport interactors can now be used to move objects other than actors around (by implementing an UViewportTransformer, and a FViewportTransformable)
       - Undo/Redo now works better with inertial transformation!  The transaction only ends when objects finally come to rest.
       - Some initial support for 'grabber sphere' interactor methods has been implemented (not used yet)
       - Viewport interaction input events now receive the viewport being interacted through
       - Viewport interaction hover events no longer get a viewport client (because they must be designed to work any number of viewports.)

NOTE: This introduces UBT warnings about cyclic module dependencies.  We'll have to address this in a different changelist.

Other changes:
- The active Viewport Interaction 'gizmo mode' is now tied directly to the editor's normal gizmo mode.  They share the same state.
- New console variable 'VI.UseTransientActors' can be turned off to force editor actors to be created non-transient to make it easier to debug
- New console variable 'VI.DragTranslationVelocityStopEpsilon' sets the speed at which transformables will stop have inertia applied to them
- Fixed cyclic dependencies with ViewportInteraction and VREditor modules not being tagged properly for UBT
- Fixed some issues with transform gizmos not getting release events
- Various methods that should have been const were made const
- Eliminated duplicate implementation of SpawnTransientSceneActor and DestroyTransientActor; made it static
- UnrealEd no longer directly depends on VREditor and ViewportInteraction modules
- Engine: AActor::SetIsTemporarilyHiddenInEditor no longer does any work if the object's hidden state didn't change
- Slate: Input preprocessor (if bound) now also gets a chance at mouse button down and up events

#codereview yannick.lange,lauren.ridge
#rb various

[CL 3245240 by Mike Fricker in Dev-VREditor branch]
2017-01-03 14:38:17 -05:00
Lauren Ridge
6d9ba32e59 Changing TArray<TTuple>s to TArray<Struct> to fix clang crash, improve code readability
#rb Shaun.Kime

[CL 3242831 by Lauren Ridge in Dev-VREditor branch]
2016-12-22 10:41:40 -05:00
Lauren Ridge
41828ff4a9 VR Editor: New Create Sequence button on the Quick Menu allows you to create a new level sequence in VR. Sequencer UI accessible from this new asset as well as opening sequence assets from the Content Browser. In VR Editing mode, all autokeying is enabled. Settings are restored when leaving VR Editing mode. Meshes are placed in the world to represent keys and frames (VR and non-VR editing mode in this change). Transforming key meshes pushes the transform change back into the correct Sequencer track.
#rb Mike.Fricker Matt.Kuhlenschmidt

#codereview Yannick.Lange

[CL 3241752 by Lauren Ridge in Dev-VREditor branch]
2016-12-21 09:11:53 -05:00