[FYI] halfdan.ingvarsson
Original CL Desc
-----------------------------------------------------------------
Control Rig: Move loading of the control enum for rig element settings to postload.
#rb helge.mathee
#rnx
[CL 27792780 by halfdan ingvarsson in ue5-main branch]
- arcball rotation: the rotation is computed using a spherical+hyperbolic projection (see code for more explanation)
- indirect manipulation via MMB: hit parts are stored per mode then are used to drive the proper drag function
- defered drag function: in order to avoid notifications storm, the drag functions can be applied on tick instead using a pending function
- a single default TRS gizmo is now created when needed (instead of creating several thru selection changed or when the gizmo manager was ticking) and its visibility is set based on rules
TODO
- UEditorInteractiveGizmoManager is now closer to UInteractiveGizmoManager so I don't think we need ActiveEditorGizmos, CachedGizmoMap, etc. that are not used anymore. This should be cleaned in another CL
- UEditorTransformGizmo::OnGizmoTransformBegin should set the current axis (needed for some modes, including IKRig) but this is disabled for now has there are some side effects with dragging (this will be treated in another CL)
#jira UE-152973
#jira UE-161236
#rb brooke.hubert zach.rammell
[CL 27751789 by benoit gadreau in ue5-main branch]
In the context of additive rigs, the evaluation as to be forced after setting the control value to request keyframing thru the OnControlModified delegate.
Not doing this results in the keys not being added (FControlRigParameterTrackEditor::HandleControlModified is not in game thread when evaluating the additive rig) so there's not new FMovieSceneRootEvaluationTemplateInstance created
NOTE
Calling Evaluate_AnyThread here will force the update off every controls whereas we're just trying to add keys on a single one. Having a function taht could only compute the additive value on a set of keys could help reducing the cost but there might be some side effets as well.
Leaving this as it is for now as additive rigs are still experimental atm.
#jira UE-193993
#rb sara.schvartzman
#rnx
[CL 27707896 by benoit gadreau in ue5-main branch]