Files
UnrealEngineUWP/Engine/Source/Runtime/MediaUtils/Private/AppMediaTimeSource.cpp

24 lines
752 B
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
Copying //UE4/Dev-Sequencer to //UE4/Dev-Main (Source: //UE4/Dev-Sequencer @ 4044339) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3947021 by Max.Chen Sequencer: Don't preserve root component when copying object properties. A spawnable empty actor, has a root component that is generated by the empty actor factory. If the object template's root component is preserved when copying from the spawnable empty actor, the root component will not be copied over. Therefore, we need to NOT preserve the root component when copying object properties. #jira UE-55825 Change 3947366 by Max.Preussner WmfMedia: Better log output Change 3947367 by Max.Preussner MfMedia: Better detection of compressed format properties on Windows Change 3949102 by Max.Chen Sequencer: Remove SequenceActorTag when converting to possessable. #jira UE-56206 Change 3949207 by andrew.porter EngineTest: Set the screenshot nodes resolution to 1280x720 Change 3949404 by Max.Chen Sequencer: More informative tooltip for "Rerun Construction Scripts" option. It now says "Rerun construction scripts every frame on actors that have 'Rerun Construction Script in Sequencer' enabled in their class settings". Change 3950067 by Matt.Hoffman Renamed UAutomatedLevelSequenceCapture's StartFrame and EndFrame to CustomStartFrame/CustomEndFrame to reflect that it is user-overriden. This will also resolve upgrade issues due to the variable datatype changing. #jira UE-56189 Change 3950193 by JohnHenry.Carawon Updating my latest MovieRendering test content. Change 3950757 by JohnHenry.Carawon More updates to MovieRendering test content Change 3952059 by Max.Chen Resave LevelVisibility_SubLevels to fix data loss conversion warning of OpacityMaskConstant #jira UE-56086 Change 3952283 by Max.Chen Sequencer: Disable dropping level sequence assets as spawnables. #jira UE-56120 Change 3952422 by Max.Chen Sequence Recorder: Add button to record from the current player. #jira UE-55942 Change 3952987 by JohnHenry.Carawon MovieRendering Test Content - Fixing camera bindings and changing the override binding actor Change 3953823 by Mike.Zyracki Fix for Bad FBX Import Tangents not scaled by frame rate. After looking at this again it seems that a set of MovieScene:: overiddes for the channel traits wasn't set correctly, so use the ADL idiom to use MovieScene, which can then call Optimize in the correct namespace. With this we can now correctly use the passed in tolerance. There was also a redundant set of Optimize calls so that it could happen twice so removed them, and needed an extra check in the float channel Optimize. Also since we need to set auto tangents no matter if we optimize we don't set that parameter(though leave it since it's used by context menu key reduction). Finally fixed speed issue with trajectories caused by calculating way too many substeps. Reverted back to a time based step size for consistency. #jira UE-56193 Change 3954317 by Matt.Hoffman Adding a key to the last frame of a section no longer causes a crash. Keys can already be moved to be on the last frame of a section so now you can just add a key there directly. #jira UE-56255 Change 3954326 by Matt.Hoffman Dilating a section that is only infinite on one side no longer causes a crash. #jira UE-56260 Change 3954486 by Max.Chen PR #4580: Exposes IsReversed() from UMovieSceneSequencePlayer (Contributed by alanedwardes) Change 3955238 by Max.Preussner Messaging: Enabled delayed message routing https://github.com/EpicGames/UnrealEngine/pull/4574 #jira UE-56247 Change 3955901 by Max.Preussner MediaFrameworkTest: Added developer test for overriding desired media player plug-in at runtime. Change 3955922 by Andrew.Porter QAGame: Updating movie rendering content in dev folder Change 3956004 by andrew.porter QAGame: Adding MPC track to movie rendering test content Change 3956510 by Max.Chen Sequencer: Fix fbx camera import of static properties so that they are imported before default tracks are created. Otherwise, the default tracks inherit the default properties of the camera, rather than the values from the fbx. #jira UE-56311 Change 3957613 by Max.Preussner MediaUtils: Added code documentation to media player facade Change 3958005 by Max.Preussner MediaUtils: Added method to get number of sinks Change 3958934 by Max.Chen Sequencer: Fix keys getting added and sequence getting erroneously re-evaluated when auto key is off. Only apply defaults if there are no keys. Only modify the movie scene section before creating keys or setting defaults. #jira UE-55903 Change 3959687 by Andrew.Rodham Sequencer: Fixed visibility track external values being inverted #jira UE-56324 Change 3960507 by Max.Preussner Core: Fixed incorrect rounding in FMath::DivideAndRoundNearest Change 3962047 by JohnHenry.Carawon MovieRendering Test Content Changes: - Add Lightmass Importance Volumes to sublevel to fix warnings - Rebuilt Lighting - Add a third sequence for Gamut testing - Resaved the sound master.uasset to fix warning Change 3962211 by Mike.Zyracki Add Frame Numbers to selected animation sections. Added MapTimeToAnimation to MovieSceneSkeletalAnimation so that we could get it from the Skeleton Animation track Editor. Since the thickness of the frame line can change based upon frame rate and zoom we need to calculate it similarly to how the time slider controller does it. Those calculations were private so we had to expose FScrubRangeToScreen and GetScubberPixelRange from the TimeSliderController. Also needed to know if the section itself was selected so added a bIsSelected flag to the section Painter. Also fixed a bug where you couldn't add a section if other sections existed at different times in MovieScenePropertyTrack and could crash due to the check(). #jira UESEQ-395 Change 3962497 by Max.Preussner Core: Added new string formatting argument to FTimespan Change 3963662 by Max.Chen CineCamera: Flip VistaVision width and height. Change 3963731 by Max.Preussner MediaCompositing: Implemented sequence recording support for media track Change 3964195 by Andrew.Rodham Sequencer: Set inverted property correctly for newly created visibility track sections - Also clamp evaluation for key editors to the bounds of the section so we're not displaying values outside of the section bounds when the cursor is not on the bounds #jira UE-56324 #coderevew Max.Chen Change 3964196 by Andrew.Rodham Sequencer: Fixed crash when attempting to render sections that resulted in a negative intersection with the view range Change 3964275 by Andrew.Rodham Sequencer: Fixed MovieScene::ClampToDiscreteRange for infinite range bounds Change 3964364 by Andrew.Rodham Curve Editor: Reduce minimum vertical view range when zooming to fit Change 3965091 by Max.Chen Sequencer Recorder: Refresh next sequence if empty when starting a recording, otherwise, use existing name. #jira UE-56469 Change 3965148 by Max.Chen Sequence Recorder: Move Record to Possessable to "Actor Recording" group Change 3965162 by Max.Chen Sequence Recorder: Always break out of immersive mode when done recording, even when stopping recording during countdown. #jira UE-56407 Change 3965214 by Max.Preussner QAGame: Enabled ImagePlate plug-in Change 3965574 by Max.Preussner SimpleComposure: Reorganized & upgraded content to work with new Media Track #jira UE-56488 Change 3965651 by Max.Preussner MediaCompositing: Ignoring seek-on-open if media not seekable Change 3966075 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Export functionality #jira UESEQ-358 Change 3966087 by Matt.Hoffman Adding a single key to the Particle Toggle track now makes an infinite range section that is displayed in the UI. #jira UE-56295 Change 3966547 by Andrew.Rodham Sequencer: Fixed rounding errors when drawing the section background on boolean sections - Logic was using time in sectonds which caused rounding errors on evaluation and flickering red/green stripes when dragging keys around #jira UE-56324 Change 3966563 by Andrew.Rodham Curve Editor: Key editor interface improvements - SKeyEditInterface has a few problems - it does not update in real time when editing properties, and does not support multi-edit which makes it unsuitable for use with the curve editor - We now take a different approach for editing keys by gathering a set of proxy UObjects for each key that is currently selected. These objects are added as top level objects to the details panel which means they support multi edit as you'd expect from any other details panel in the editor. - Proxy objects are updated every tick for the curve editor if they implement the ICurveEditorKeyProxy interface, which allows them to refresh their current value. - Ideally, the same mechanisms would be used in the main sequence interface, and we would be generating the proxy classes at runtime based on the key value type, but that work remains a separate task from this initial offering. #jira UE-56165 Change 3966564 by Andrew.Rodham Curve Editor: Expand to frame when adding or moving keys in the curve editor Change 3967051 by andrew.porter MediaFrameworkTest: Set the CameraPlayer_Video texture to auto clear Change 3967141 by Andrew.Rodham Sequencer: Keep track of spawned objects that have been modified and only re-save such object's default spawnable state on destruction - Now that we're taking this approach, I've remove serveral redundant bits of functionality in the spawn register such as making some spawnables read-only, and the PreSave binding for Sequencer. - We now hook into all object pre-saves to make sure we handle the case where the sequences are saved through the content browser or elsewhere. #jira UE-47686 Change 3967170 by Andrew.Rodham Sequencer: Added the ability to possess anim instances as object bindings - This allows full and direct animation of properties on UAnimInstance, and animation blueprints - Object Bindings are made by first possessing a skeletal mesh component, then choosing the + Add button where its anim instance will be listed - Added a new function to UMovieSceneSequence to gather previously cached objects that should now be invalidated. Anim instances will be re-resolved if a new UAnimInstance is assigned to USkeletalMeshComponent::GetAnimInstance. - ObjectBindingIDs for anim instances are just represented by an entry in a set of GUIDs. We only ever resolve such bindings through USkeletalMeshComponent::GetAnimInstance. - Only currently supported on LevelSequences #jira UE-56132 Change 3967195 by Max.Preussner Core: Updated TRangeSet to use TCallTraits Change 3967345 by JohnHenry.Carawon Test Content Changes - first iteration of spacing out the examples in the shots. Change 3967572 by Max.Chen Sequencer: Fix setting PreviousPlayEvalPosition until after we've tested whether it's set. #jira UE-56518 Change 3967750 by Max.Chen Audio: Set duration based on number of input channels, rather than number of channels to serialize. This fixes an issue where audio split into 2 channels is set to a duration that's twice as long. #jira UE-56430 Change 3967836 by Max.Chen Sequencer: Allow for animating array elements within ustruct properties #jira UE-55887 Change 3968506 by Matt.Hoffman Fixed ambiguous conversions for seconds and frames being overriden by ambiguous conversion to Timecode (in frames). Change 3968748 by Max.Chen Sequencer: Make the event properties submenu widget larger. #jira UE-55557 Change 3968862 by Max.Chen Sequencer: Recursive expansion when shift is down #jira UE-52139 #pr 4194 Change 3968863 by Max.Chen Sequencer: Bind rename command to selected track so that F2 shortcut start renaming #jira UE-52139 #pr 4194 Change 3968872 by Max.Chen Sequencer: Rekey the selected key at the current time. #jira UESEQ-396 Change 3968938 by Max.Chen Cine Camera: Add option to toggle the behavior of locking the rail mount to the orientation of the spline. By default, the option is off, no change in behavior. #jira UE-55815 Change 3968958 by Andrew.Rodham Sequencer: Consider vertical position when hittesting keys #jira UE-56256 Change 3969643 by Max.Preussner Core: Rounding timespans created from double values towards nearest ticks Change 3969646 by Max.Preussner MediaUtils: Implemented timeout mechanism for block-on-fetch feature Change 3969776 by Mike.Zyracki Added Skip Anim Notifiers Toggle per what was in Matinee. Investigated the Enable Root Motion toggle as also discussed but it's implementation is directly contained by the animation asset and unlike animation notifies there seems to be no exposure to interactively disable it during a playback tick. Note if we are generating thumbnails we still automtically disable notifies in the editor to avoid annoying noise playback. Note that if Enable Root Motion/Root locked is specified in the animation asset it does correctly effect the Sequencer. #jira UESEQ-399 Change 3969835 by Matt.Hoffman Playback Range and Selection Range use unified logic for adding themselves as potential snap locations which properly handles inclusive/exclusive bounds. This resolves an issue where having an unset selection range caused a potential snap location to be added on frame 0 and 1 (internal resolution) which caused a misalignment when placing objects near frame 0. This also removes the one frame offset on setting Selection Range to bring behavior inline with other ranges. #jira UE-55420 Change 3969885 by Max.Preussner MediaAssets: Don't register media player CDO with media ticker Change 3971129 by Andrew.Rodham Sequencer: Fixed UMovieSceneSequencePlayer::GotToEndAndStop() not taking into account for start time This is a remnant from when the times were always specified in 0-duration space, rather than actual sequence times. Change 3972056 by JohnHenry.Carawon More updates to Test Content. I continued spacing out the examples in the sequence so that they have a consistent number of frames between each example and during the start/end of the example. Also removed the Marcie sublevel. Change 3972066 by Andrew.Porter MediaFrameworkTest: Setting Marcie folder to be never cooked in package settings Change 3972675 by Matt.Hoffman Splitting Subsequence Sections no longer sets an incorrect playback range on the subsequence when the subsequence has a different internal resolution than the owning sequence. #jira UE-55453 Change 3973376 by Max.Preussner ImgMedia: Zero is the only valid video track for image sequences Change 3973489 by Max.Preussner Launch: Build rules cleanup pass - don't use Media, MediaUtils on server apps - don't link against Media (include-only dependency) - don't include from MediaAssets (dynamic load only) Change 3973760 by Max.Preussner MediaUtils: Moved AppMediaTimeSource implementation into its own file; added logging Change 3973765 by Max.Preussner ImgMedia: Disallowing seek beyond media length Change 3973855 by Max.Preussner MediaFrameworkTest: Updated developer test content Change 3973858 by Max.Preussner MediaCompositing: Blocking on media player time instead of media sample time (the former may not be hit in the current frame) Change 3974988 by Max.Chen Sequencer: Fix trim left so that it also sets the start offset for audio and skeletal animation sections. #jira UE-57015 Change 3976101 by Matt.Hoffman Sequencer will now focus the scroll view on newly created items. #jira UE-56492 Change 3976203 by Max.Chen Property Editor: Add DetailsViewArgs for ColumnWidth. Defaults to 0.65f, no change in existing behavior. Change 3976205 by Max.Chen Sequencer: Set better column widths for sequencer. #jira UE-55557 Change 3976206 by Max.Chen Sequencer: Added menu category for import/export Change 3976265 by Matt.Hoffman Tracks within Object Binding Nodes will now sort using the old behavior so that components are added above other track types. #jira UE-56473 Change 3976901 by Max.Chen Sequencer: Add event names to event track section #jira UESEQ-353 Change 3977878 by Max.Preussner Media: Moved media framework ticking stats into Media module Change 3977982 by Max.Chen Sequencer: Add Edit->Reset section length to duration of source (ie. audio, skeletal animation, shot length) Added MovieSceneSection::GetDefaultDuration and MovieScene::HasDefaultDuration #jira UESEQ-392 Change 3977994 by Max.Preussner Media: Fetching and rendering media samples before viewports are rendered (to ensure frame sync for in-level media playback) #jira UE-53975 Change 3978188 by Matt.Hoffman Easing Curves are now clipped by the sequence's PlayRange when testing against an infinite section. This causes blended sequences to finish their blend when the section starts/ends instead of always using 25% of the total section length to determine default blend range. #jira UE-56362 Change 3978676 by Max.Preussner MediaCompositing: Fixed first frame of rendered out media track missing #jira UE-53975 Change 3978684 by Max.Preussner MediaCompositing: Enabled media track frame sync feature #jira UE-53975 Change 3980026 by Matt.Hoffman Keys can be selected on folded out sections (such as an audio track expanded to show volume and pitch) again. #jira UE-57169 Change 3981614 by Max.Preussner MediaUtils: Added missing subtitle sample queue flush Change 3982311 by Max.Preussner MediaCompositing: Added safeguard for zero length media sources Change 3982389 by andrew.porter QAGame: Adding media track test content into FrameAccuracySubscene Change 3983661 by Max.Chen Sequencer: Add level name to spawn a spawnable into. Add sublevel menu option to set the level #jira UESEQ-390 Change 3983712 by Andrew.Rodham Sequencer: Purge legacy blueprint spawnables from LevelSequence packages #tests Ran a preflight for cooking fortnite, ocean and Orion. Only orion shows up this edge case, and will require a re-save of the EndCines level #jira UE-39173 Change 3983787 by Max.Preussner MediaCompositing: Moved compile time switch for block-on-fetch into media player facade Change 3983812 by Andrew.Rodham Sequencer: Exposed default level sequence instance data to blueprints Change 3984373 by Max.Preussner Media: Added API for quering whether player plug-in supports block on fetch Block on fetch allows Sequencer and other systems to block the game thread until a desired video frame has been decoded. Change 3984670 by JohnHenry.Carawon Movie Rendering Test Content progress. Saving the state of the content. There is a bug where things got replaced with particle emitters and I think it was because I tried to copy paste an animation track into a separate skeletal mesh track. Change 3985097 by Max.Chen Sequencer: Rename Reset to AutoSize Change GetAutoSizeDuration to return TOptional<FFrameTime> #jira UESEQ-392 Change 3986043 by Max.Chen Sequencer: Fix crash when attach/path duration is less than 0. #jira UE-57310 Change 3986373 by Max.Chen Sequencer: Add support for deleting tracks and channels which equates to setting the channel mask. #jira UE-52951 Change 3986375 by Max.Chen Sequencer: Add Create Pose Asset to skeletal animation section. This allows animators to blend animations in sequencer and create new pose assets from them. #jira UESEQ-408 Change 3986796 by Andrew.Rodham Sequencer: Fixed stale object references remaining in ULevelSequence::BindingReferences when using convert to spawnable/possessable - We used to convert objects by creating a new binding, then re-assigning its GUID, which meant we didn't have to do any further object fixup, but the code to achieve this was confusing and led to a vulnerability where object references would not be cleaned up correctly due to the newly created possessable essentially being a temporary object that's immediately thrown away. - To address this, there is now a function for porting all the contents of one object binding to another, and handles the correct fixup required for parent/child object bindings for both spawnables and possessables. - Also added codepath to remove any stale object references from the level sequence reference map on PostLoad (this piggy-backs off the PurgeLegacyBlueprints object version which is close close enough to this change to be identical) #tests Verified that existing sequences with stale references get cleaned up on load. Verified that repreatedly converting from spawnable<->possessable cleans up references correctly. Change 3987807 by JohnHenry.Carawon Updates to the MovieRendering Test Content. - Fixed the spawnable actors that were overwritten - Shortend the Lighting example and combined the Intensity and Color tracks - Organized the Sequence and WorldOutliner to group the examples. Change 3988151 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. Change 3988880 by Max.Chen Sequencer: Support enter to add asset for all sequencer track editors that have asset pickers. #jira UE-57367 Change 3988953 by Max.Chen Sequencer: Make the track color picker focusable so that it will close when you click away or lose focus. #jira UE-57210 Change 3988962 by Max.Chen MovieSceneCapture: Fix EDL export so that it takes into account movie scene frame resolution and desired frame rate. #jira UE-57365 Change 3988964 by Max.Chen Movie Scene Capture: Clarified tooltip for bRelativeFrameNumbers. If you specify custom start/end frames for the recording, they will be relative to the playback range. #jira UE-57308 Change 3989442 by Max.Chen Fix CIS Change 3991548 by Matt.Hoffman Dragging the time slider no longer causes the time slider to ignore snap-to-interval with "Snap to Keys While Scrubbing" when no keys are in range. #jira UE-57417 Change 3991598 by Matt.Hoffman Snap to Key while scrubbing now mirrors the behavior of "jump to next key". When there are no tracks selected it snaps to all keys and when there are tracks selected it snaps to only keys from that track. This also resolves an issue where deleting an object did not remove it from the Sequencer's selection. Undoing a delete already doesn't seem to restore your selection, so removing it from your selection shouldn't change that behavior. #jira UE-57417 Change 3991603 by Max.Chen Sequencer: Disable EditAnywhere for some section properties #jira UE-53530 Change 3992240 by Max.Preussner MediaAssets: Implemented dynamic audio sample rate adjustment based on audio/media clock drift #jira FORT-70638 Change 3992911 by Andrew.Rodham Sequencer: Fixed saving spawnable state using the wrong spawned object - We now track the object binding ID so that we can apply the spawned object to the correct spawnable when the asset is saved #jira UE-57353 Change 3992914 by Max.Chen Movie Scene Capture: Fix compression quality not being set. The compression interface wasn't being found through query interface, so no compression was being set. Reworked finding it through the output pins. Tested running various compression values. #jira-UE-55488 Change 3992919 by Max.Chen Sequencer: Convert to possessable now uses object template instead of copying properties (ie. see LevelSequenceActorSpawner). This fixes MIDs getting lost when converting to spawnable and back to possessable. #jira UE-52400 Change 3993184 by Max.Chen Sequencer: Don't show +Transform/+Path/+Attach track if the actor has the "Mobility" property hidden. Set the Landscape, LandscapeProxy and InstancedFoliage "Mobility" property to be hidden since it is static is not supposed to be dynamically movable. #jira UE-56347 Change 3993238 by Max.Chen Sequencer: Test for hidden mobility in creating keys as well. Refactored to HasHiddenMobility() #jira UE-56347 Change 3993978 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. #jira UE-57489 Change 3994039 by Max.Chen Landscape: Add Mobility to hidecategories on landscape component #jira UE-56347 Change 3994626 by JohnHenry.Carawon Updated Movie Rendering Test Content. - Fixed the overridden spawnables to their proper object types. Change 3994653 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Import functionality, improved Export functionality #jira UESEQ-358 Change 3995609 by Max.Chen UMG: Add support for 2d transform mask (translation, rotation, scale, shear) #jira UE-52951 Change 3995778 by JohnHenry.Carawon Movie Rendering Test Content Updates - Adjusted Lights example - Adjusted Camera example - Added Marcie sublevel back in Change 3995942 by JohnHenry.Carawon QAGame: Moving Movie Rendering test content from Developer folder to Sequencer folder Also adjusted level visibility, lights and camera example. Change 3995993 by Christina.TempelaarL Sequencer: FCPXML Export updates - only export sections if in playback range and media exists, warn if media does not exist. Other updates - removed unused methods and variables, fixed message context naming to be more accurate #jira UESEQ-358 Change 3996595 by andrew.porter QAGame: Updating Marcie content in TrackEvaluation level to use Image Plate Change 3996614 by andrew.porter QAGame: Adding color test sequence to the sublevel Change 3996643 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 3996652 by Max.Preussner Messaging: Fixed delayed messaging using incorrect current time after message router sleep Based on https://github.com/EpicGames/UnrealEngine/pull/4601 Change 3996801 by Max.Chen Sequencer: Fix folder active state for non key area sections. Look at track node sections as well as key areas. #jira UE-57550 Change 3997098 by Matt.Hoffman Cleaned up some remaining ToDo's in STimeRange. Change 3998339 by Max.Preussner Sockets: Added documentation for socket receive functions Change 3998359 by Max.Preussner MediaUtils: Started to implement media recorder helper class Currently only supports BGRA frames in CPU memory. Supporting other formats and buffer types will require conversions on render-thread. I recommend refactoring out the existing conversion code in FMediaTextureResource into a reusable helper class in the MediaUtils module. This should be a good starting point though. Change 3998417 by Matt.Hoffman Keys and Sections can now be moved at the same time inside of Sequencer. Keys can now snap to Sections (and vice versa) instead of just to other Keys. Sections can now be duplicated like keys can. #jira UE-56995 Change 3998427 by JohnHenry.Carawon QAGame: Updating test content for the Movie Rendering feature. - Added an auto activate particle to the beginning of the sequence (it's not part of the sequence at all) - Added an event receiver blueprint to the Events example - Added a particle emitter to both sublevels - Added a camera cut to the end that switches to a separate camera - The camera zoom in, focus and Look At sections are all separate (not overlapping in the sequence) - Added a second actor for the camera Look At - Added a Visibility section for the Actor Hidden In Game track that has possessable and spawnable cube and light Change 3998537 by Max.Chen Sequence Recorder: Restore immersive mode when stopping the sequence even if not in PIE. #jira UE-56407 Change 3999809 by Matt.Hoffman Removed the "Go To" box from Sequencer and instead placed the current time as an always visible control. The previous shortcut (Ctrl + G) now focuses the new widget directly. #jira UESEQ-376 Change 4000543 by Christina.TempelaarL Sequencer: Moving editor-only code from runtime module MovieSceneCapture to editor module MovieSceneTools. Moved EDL and FCP XML exporters as well as Automated Level Scene Capture. #jira UESEQ-358 Change 4000706 by Matt.Hoffman Entering multiple time strings without a number no longer crashes Sequencer. #jira UE-57672 Change 4001051 by andrew.porter MediaFrameworkTest: Fixing up some image sources pointing to the wrong location Change 4001191 by andrew.porter QAGame: Adding some quick EDL/XML test content to dev folder Change 4001243 by Max.Chen Sequencer: Fix import EDL out of range. #jira UE-57665 Change 4001856 by Matt.Hoffman Selecting keys and sections at the same time now also works with animation and audio sections. #jira UE-57716 Change 4002021 by Max.Chen Sequence Recorder: Fix sequence name incrementing. If external recording sets the sequence name, use it. Otherwise, use the recording name from the recording group or the recording settings. #jira UE-57712 Change 4002618 by Max.Chen Viewport: Update the look at location when updating to a locked actor. This fixes an issue so that popping the view out of a locked actor and manipulating the view will not jump to the previous look at location. #jira UE-57725 Change 4002979 by Matt.Hoffman Fixes several edge cases with the end time range that was causing confusion about what the last frame of the sequence was. Dragging the End Frame slider will no longer be off by one tick and jumping to the end via the UI controls now properly respects snapping and stays inside the play range instead of falling outside of it. Overall behavior does not change though and End Frame should be considered an exclusive frame so that frames 0-150 results in a 150 frame long animation (which is frames 0-149). #jira UE-56367 Change 4003185 by Matt.Hoffman Fixed a regression that prevented a section from being dragged upwards past row 0 which normally resulted in all other rows moving down. #jira UE-57717 Change 4003193 by JohnHenry.Carawon QAGame: Updates to test content - Shortened frames between the examples from 95 to 30 - Separated camera setting tracks - Lighting example now switches directly from constant red - green - blue Change 4003369 by Max.Chen Sequence Recorder: Refresh next sequence regardless of internally stored sequence name. #jira UE-55757 Change 4003586 by JohnHenry.Carawon QAGame: Test Content Updates - Level Visibility track now ends to that the levels are not visible when we move to the next example - Shortened camera section, removed Z tranform so that we just move left to right and shortened the overall length Change 4004414 by Max.Chen Movie Scene Capture: Fix regression where rendering with shot handles would only render the first shot. 3972166 addressed an issue where an extra frame would be rendered by finalizing right when the end frame was reached. This was hit on the first shot end frame, so instead, do this only for when the last shot is being rendered. #jira UE-57314 Change 4004765 by Christina.TempelaarL Sequencer: Fixed bugs in FCP XML import/export. - Export: fixed sequence default resolution. - Export: fixed XML files with no shots. - Export: all sections clipped to playback range. - Export: fixed incorrect section start/end times due to precision issues. - Import: fixed incorrectly adding cinematic tracks. - Import: fixed bugs creating new sections. #jira UE-57660 #jira UE-57662 #jira UE-57655 #jira UE-57761 Change 4005119 by Max.Chen Sequencer: Export/import at play rate Change 4005195 by Max.Chen UMG: Finish UMG evaluation on stop. Added object version so that existing UMG assets do not change. #tests - Newly created UMG animation with sections set to restore state now return to their original state. Existing UMG animations with sections set to restore state do not return to their original state. #jira UE-52285 Change 4005377 by Michael.Karambelas QAGame: Moving TM-SequenceRecorder and related content out of my developer folder and into /Content/Sequencer/SequencerRecorder/* Change 4005417 by Michael.Karambelas QAGame: Fixed a BP compiler in the Level Blueprint of TM-SequencerRecorder. Change 4005634 by Michael.Karambelas QAGame: Fix up missing content and broken level sequence in TM-SequenceRecorder after move Change 4006324 by Max.Chen Sequencer: Reset if the focused movie scene is null. This fixes a crash if the user is focused in on a shot and undo takes the user past the point of where the shot was created. #jira UE-57752 #jira UE-47661 Change 4007006 by Max.Chen Sequencer: Fix FindAvailableRowIndex so that it returns the max row index (and not +1) since it doesn't find any conflicting rows. #jira UE-57717 Change 4007907 by Max.Chen Sequencer: Fix crash if there's no animation Change 4007948 by andrew.porter QAGame: added test content to dev folder for Record World Space Change 4008636 by Max.Chen Sequencer: Fix import fbx not setting values properly and creating additional cameras unncessarily. #jira UE-57864 Change 4008759 by Max.Chen Sequencer: Follow up fix for import cameras #jira UE-57864 Change 4009994 by Matt.Hoffman Dragging the left or right handles of the Time Range slider in Sequencer will now zoom your view in on the current center of the screen. This prevents the view from being translating as you tried to zoom in which caused issues at high zoom levels. #jira UESEQ-407 Change 4010169 by Christina.TempelaarL Sequencer: FCP XML fixes. - FCP XML export - no longer clips to playback range - FCP XML and EDL export - fixed missing last frame of some sections after exporting to Premiere. - Automated level capture, EDL export - use RoundToFrame instead of FloorToFrame for computing section start/end frames after frame rate conversion. #jira UE-57802 - partial fix, movie scene capture still needs to render full section rather than clip against playback. Change 4010287 by Mike.Zyracki Add quaternion interpolation option to UMovieScene3DTransformSection. This mimics how Matinee used to work by bascially finding the keys between a time and interpolating the angles as quat's between them. As noted in the code the algorithm needs to handle the case when the x,y,z Rotation keys all aren't at the same time which was not handled by Matinee. Also like Matinee, when in quaternion interoplation mode, we need to not display the function cuves since the interpolated and key values are now all different. (Would like to show them but that's a bigger refactor for perhaps just a one off needed by quaternions). I added a virtual function UMovieSceneSection::ShowCurveForChannel for this since it needs to be dynamic, not on construction of IKeyArea's, and could be useful for other sections. I could though move the method to just UMovieScene3DTransformSection and do a cast instead. Looked into doing a unit test for this but after talking with Andrew P we will work on doign an automated test in EngineQA since that will provide more coverage. Will also add a video the jira. #jira UESEQ-403 Change 4010713 by Mike.Zyracki Added option to key a group of transform channels instead of just the changed channel, or all of them. This is useful for quaternion interpolations where you want rotation keys to be aligned but also useful for other workflows like animating FK Pose to Pose. Change 4010715 by Andrew.Porter MediaFrameworkTest: Setting LogMediaUtils logging from VeryVerbose to Verbose to cut back on the spam Change 4013048 by Max.Chen Sequencer: Fix play/jump status. Update the player status for all position methods (Scrub, Jump, Play). Jump means Stopped. Correctly use PlayTo or JumpTo based on position method. In PlayInternal, JumpTo with the Stopped state (rather than playing state). #jira UE-57844 Change 4013479 by andrew.porter QAGame: Added content in TM-SequenceRecorder to test recording a property on a Cine Camera Component; Press 3 to trigger manual focus distance to increment on a timer Change 4014323 by Max.Chen Sequencer: Fix SetPlaybackPosition so that it jumps or plays based on playback status. #jira UE-57844 Change 4015888 by Max.Chen Sequencer: Fix crash on paste. UMovieSceneSections were gathered from the track node's track. For sub track mode, we want to gather only those sections on that track node row. #jira UE-57951 Change 4015943 by Max.Chen Sequencer: Fix moving shots up when the mouse pos goes outside of the virtual track area. #jira UE-57717 Change 4016293 by Max.Chen Sequencer: Fix relative frame playback end frame calculation so that custom start/end frames remain in the space of the sequence and are not relative. #jira UE-57308 Change 4017075 by Andrew.Rodham Sequencer: Corrected initial evaluation range used when calling UMovieSceneSequencPlayer::Play() Change 4017270 by Christina.TempelaarL Sequencer: FCPXML importer and movie scene capture - Use CeilToFrame when converting section start/end frame times to frame numbers in FCPXML and movie scene capture. - Added support for clip metadata in FCPXML. - Got rid of redundant TokenizedError message class, no longer needed now that FCPXML is in editor directory. - Added log messages currently commented out due to exception, still testing. #UESEQ-358 Change 4018370 by Christina.TempelaarL Sequencer: fixed FCPXML log messages regarding sections with start/end not divisible by display rate. #UESEQ-358 Change 4018378 by Christina.TempelaarL Sequencer: fixed error in previous changelist. #UESEQ-358 Change 4019457 by Max.Chen Sequencer: Show event names only when the event track is selected #jira UE-57897 Change 4022806 by Max.Chen Sequencer: Fix crash on movie scene capture dialog shutdown if movie capture wasn't even started. #jira UE-58106 Change 4022894 by Max.Chen Sequence Recorder: Wrap OpenEditorForAssets after sequence recording within GIsEditor #jira UE-58084 Change 4024487 by Max.Chen Sequencer: Add tooltip for quat interpolation #jira UE-58113 Change 4024562 by Max.Chen Sequencer: Change path/attach track sequence binding id to currently focused sequence id so that bindings can be created in subsequences Change 4027414 by JohnHenry.Carawon QAGame: Checking in content that shows a bug with using particles systems and Delay Before Shot Warm Up. Change 4028990 by Max.Chen Sequencer: Fix evaluate sub sequences in isolation. This check was added with the compile on the fly logic. Not sure why it was necessary but it seems like the sub sequence data needs to be updated in order to evaluate sub sequences in isolation. #jira UE-58184 Change 4029004 by Max.Chen Sequencer: Ensure that old binding references are removed when re-assigning actors in sequencer #jira UE-57898 Change 4030997 by JohnHenry.Carawon QAGame: Fixing name of the master sequence Change 4031785 by Michael.Karambelas QAGame: Added an instance of ThirdPerson Run to TM-SequenceRecorder for Record to Possessable test. Change 4035548 by Andrew.Rodham Sequencer: Changed FMovieSceneEvaluationTemplate::TemplateSignature to be a serial number to address non-deterministic cooking issues - This commit is related to the repro steps found in 3914599 and 3934307, both of which have been verified with this new change. - Copy of 4031684 from //Fortnite/Main/... #jira FORT-84852 Change 4036312 by Max.Chen Sequencer: Fix zoom view range so that it uses the passed in InZoomDelta Change 4036318 by Max.Chen Sequencer: Auto size now returns a range and defaults to the channel proxy range so that keyed regions can also be autosized. Change 4036322 by Max.Chen Forgot missing change Change 4036360 by Max.Chen Sequencer: Fix play rate calculation when skeletal animation section play rate changes. Change 4037163 by Mike.Zyracki Weighted Tangent Implementation Tricky thing is that you need to solve a cubic in order to get the bezier weights for the time part of the curve. See https://www.gamedev.net/forums/topic/474094-help-function-curves-for-animation-interpolation/ Maya provides an implementation in it's dev kit but I didn't use it since it was horribly slow and uses an iterative solution to solve the cubic needed. Instead I use an old algorithm (Cardano's method), to solve the cubic which should be much faster. Though relative simple to code from principles I just went ahead and used a version from Graphics Gems 1. I put this cubic solver directly in MovieSceneFloatChannel.cpp, but will need to move it when we support Rich Curve, maybe to FMath:: (which would probalby require some other functions for solving quartics, etc.. for completeness.). Also note we resolve this on every evaluation but dont' need to if the interval the time is evaluating hasn't had any change in values or tangents. So again when we support FRichCurve we can create a Weighted Evaluating class that can hold the cache. Also with the tangent drags I got rid of the Cardinal position that was used to calculate non-weight tangents from the key point and just quickly getting a direction. With weighted tangents we need to use the delta instead (otherwise when moving multiple they would all get the same weight based upon distance to the cardinal point. ) For mixed tangents types what I'm defaulting to non weighted if the interval doesn't match. May need to do weighted instead, not sure. What's left is just FBX import, for tomorrow. #jira UESEQ-76 Change 4037435 by Mike.Zyracki Fix fo build warnings from weighted tangent submission. #trivial Change 4038091 by Michael.Karambelas QAGame: Updated a Sequence Recorder group in TM-SequenceRecorder that had an actor missing the animation. Change 4038374 by Andrew.Rodham Sequencer: Refined scrubber styling for level sequences and actor sequences - Scrubber now shows a block the width of a dsplay rate frame, plus a line for the actual evaluated time. UMG reverts back to the previous styling (no block) - Keys that are outside of the playback range are now drawn with a subdued effect - Tick labels are no longer drawn when directly underneath the scrubber Change 4038490 by Max.Chen Sequencer: Expose tangent weight values in details panel. Change 4038620 by Andrew.Rodham Sequencer: Advanced time panel polish #jira UESEQ-426 Change 4038677 by Max.Chen Movie Scene Capture: Redirector for MovieSceneTools.AutomatedLevelSequenceCapture #jira UE-58248 Change 4039739 by Max.Chen Sequencer: Media track should only be supported by Level Sequence Change 4040024 by JohnHenry.Carawon QAGame: Fix EventReciever and OverrideBinding example The level sequence was set to none so the fix was to set it back to TrackEvaluation_Master. Change 4040610 by Andrew.Rodham Curve Editor: Moved weighted tangent switchers to a single toggle command (CTRL+W) and added an icon #jira 58383 Change 4040882 by Mike.Zyracki Keep broken when turning on weighted #jira UE-58435 Change 4041089 by andrew.porter QAGame: Sequence for Long Tangents bug Change 4041498 by Mike.Zyracki Turn off weighted when going auto to prevent large tangents. Do it both in UI and when doing AutoSetTangents() to really make sure it doesn't happen. #jira UE-58452 Change 4041752 by andrew.porter MediaFrameworkTest: Adding some better logging for setting rates when not supported. Also ignoring commiting URL when there is no text Change 4041896 by Matt.Hoffman The transform dialog box now transforms selected keys and sections, instead of just keys. #jira UE-58265 [CL 4044405 by Max Chen in Main branch]
2018-05-02 10:10:00 -04:00
#include "AppMediaTimeSource.h"
#include "MediaUtilsPrivate.h"
#include "Misc/App.h"
#include "Misc/Timespan.h"
/** Declares a log category for this module. */
DECLARE_LOG_CATEGORY_CLASS(LogMediaTimeSource, Log, All);
Copying //UE4/Dev-Sequencer to //UE4/Dev-Main (Source: //UE4/Dev-Sequencer @ 4044339) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3947021 by Max.Chen Sequencer: Don't preserve root component when copying object properties. A spawnable empty actor, has a root component that is generated by the empty actor factory. If the object template's root component is preserved when copying from the spawnable empty actor, the root component will not be copied over. Therefore, we need to NOT preserve the root component when copying object properties. #jira UE-55825 Change 3947366 by Max.Preussner WmfMedia: Better log output Change 3947367 by Max.Preussner MfMedia: Better detection of compressed format properties on Windows Change 3949102 by Max.Chen Sequencer: Remove SequenceActorTag when converting to possessable. #jira UE-56206 Change 3949207 by andrew.porter EngineTest: Set the screenshot nodes resolution to 1280x720 Change 3949404 by Max.Chen Sequencer: More informative tooltip for "Rerun Construction Scripts" option. It now says "Rerun construction scripts every frame on actors that have 'Rerun Construction Script in Sequencer' enabled in their class settings". Change 3950067 by Matt.Hoffman Renamed UAutomatedLevelSequenceCapture's StartFrame and EndFrame to CustomStartFrame/CustomEndFrame to reflect that it is user-overriden. This will also resolve upgrade issues due to the variable datatype changing. #jira UE-56189 Change 3950193 by JohnHenry.Carawon Updating my latest MovieRendering test content. Change 3950757 by JohnHenry.Carawon More updates to MovieRendering test content Change 3952059 by Max.Chen Resave LevelVisibility_SubLevels to fix data loss conversion warning of OpacityMaskConstant #jira UE-56086 Change 3952283 by Max.Chen Sequencer: Disable dropping level sequence assets as spawnables. #jira UE-56120 Change 3952422 by Max.Chen Sequence Recorder: Add button to record from the current player. #jira UE-55942 Change 3952987 by JohnHenry.Carawon MovieRendering Test Content - Fixing camera bindings and changing the override binding actor Change 3953823 by Mike.Zyracki Fix for Bad FBX Import Tangents not scaled by frame rate. After looking at this again it seems that a set of MovieScene:: overiddes for the channel traits wasn't set correctly, so use the ADL idiom to use MovieScene, which can then call Optimize in the correct namespace. With this we can now correctly use the passed in tolerance. There was also a redundant set of Optimize calls so that it could happen twice so removed them, and needed an extra check in the float channel Optimize. Also since we need to set auto tangents no matter if we optimize we don't set that parameter(though leave it since it's used by context menu key reduction). Finally fixed speed issue with trajectories caused by calculating way too many substeps. Reverted back to a time based step size for consistency. #jira UE-56193 Change 3954317 by Matt.Hoffman Adding a key to the last frame of a section no longer causes a crash. Keys can already be moved to be on the last frame of a section so now you can just add a key there directly. #jira UE-56255 Change 3954326 by Matt.Hoffman Dilating a section that is only infinite on one side no longer causes a crash. #jira UE-56260 Change 3954486 by Max.Chen PR #4580: Exposes IsReversed() from UMovieSceneSequencePlayer (Contributed by alanedwardes) Change 3955238 by Max.Preussner Messaging: Enabled delayed message routing https://github.com/EpicGames/UnrealEngine/pull/4574 #jira UE-56247 Change 3955901 by Max.Preussner MediaFrameworkTest: Added developer test for overriding desired media player plug-in at runtime. Change 3955922 by Andrew.Porter QAGame: Updating movie rendering content in dev folder Change 3956004 by andrew.porter QAGame: Adding MPC track to movie rendering test content Change 3956510 by Max.Chen Sequencer: Fix fbx camera import of static properties so that they are imported before default tracks are created. Otherwise, the default tracks inherit the default properties of the camera, rather than the values from the fbx. #jira UE-56311 Change 3957613 by Max.Preussner MediaUtils: Added code documentation to media player facade Change 3958005 by Max.Preussner MediaUtils: Added method to get number of sinks Change 3958934 by Max.Chen Sequencer: Fix keys getting added and sequence getting erroneously re-evaluated when auto key is off. Only apply defaults if there are no keys. Only modify the movie scene section before creating keys or setting defaults. #jira UE-55903 Change 3959687 by Andrew.Rodham Sequencer: Fixed visibility track external values being inverted #jira UE-56324 Change 3960507 by Max.Preussner Core: Fixed incorrect rounding in FMath::DivideAndRoundNearest Change 3962047 by JohnHenry.Carawon MovieRendering Test Content Changes: - Add Lightmass Importance Volumes to sublevel to fix warnings - Rebuilt Lighting - Add a third sequence for Gamut testing - Resaved the sound master.uasset to fix warning Change 3962211 by Mike.Zyracki Add Frame Numbers to selected animation sections. Added MapTimeToAnimation to MovieSceneSkeletalAnimation so that we could get it from the Skeleton Animation track Editor. Since the thickness of the frame line can change based upon frame rate and zoom we need to calculate it similarly to how the time slider controller does it. Those calculations were private so we had to expose FScrubRangeToScreen and GetScubberPixelRange from the TimeSliderController. Also needed to know if the section itself was selected so added a bIsSelected flag to the section Painter. Also fixed a bug where you couldn't add a section if other sections existed at different times in MovieScenePropertyTrack and could crash due to the check(). #jira UESEQ-395 Change 3962497 by Max.Preussner Core: Added new string formatting argument to FTimespan Change 3963662 by Max.Chen CineCamera: Flip VistaVision width and height. Change 3963731 by Max.Preussner MediaCompositing: Implemented sequence recording support for media track Change 3964195 by Andrew.Rodham Sequencer: Set inverted property correctly for newly created visibility track sections - Also clamp evaluation for key editors to the bounds of the section so we're not displaying values outside of the section bounds when the cursor is not on the bounds #jira UE-56324 #coderevew Max.Chen Change 3964196 by Andrew.Rodham Sequencer: Fixed crash when attempting to render sections that resulted in a negative intersection with the view range Change 3964275 by Andrew.Rodham Sequencer: Fixed MovieScene::ClampToDiscreteRange for infinite range bounds Change 3964364 by Andrew.Rodham Curve Editor: Reduce minimum vertical view range when zooming to fit Change 3965091 by Max.Chen Sequencer Recorder: Refresh next sequence if empty when starting a recording, otherwise, use existing name. #jira UE-56469 Change 3965148 by Max.Chen Sequence Recorder: Move Record to Possessable to "Actor Recording" group Change 3965162 by Max.Chen Sequence Recorder: Always break out of immersive mode when done recording, even when stopping recording during countdown. #jira UE-56407 Change 3965214 by Max.Preussner QAGame: Enabled ImagePlate plug-in Change 3965574 by Max.Preussner SimpleComposure: Reorganized & upgraded content to work with new Media Track #jira UE-56488 Change 3965651 by Max.Preussner MediaCompositing: Ignoring seek-on-open if media not seekable Change 3966075 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Export functionality #jira UESEQ-358 Change 3966087 by Matt.Hoffman Adding a single key to the Particle Toggle track now makes an infinite range section that is displayed in the UI. #jira UE-56295 Change 3966547 by Andrew.Rodham Sequencer: Fixed rounding errors when drawing the section background on boolean sections - Logic was using time in sectonds which caused rounding errors on evaluation and flickering red/green stripes when dragging keys around #jira UE-56324 Change 3966563 by Andrew.Rodham Curve Editor: Key editor interface improvements - SKeyEditInterface has a few problems - it does not update in real time when editing properties, and does not support multi-edit which makes it unsuitable for use with the curve editor - We now take a different approach for editing keys by gathering a set of proxy UObjects for each key that is currently selected. These objects are added as top level objects to the details panel which means they support multi edit as you'd expect from any other details panel in the editor. - Proxy objects are updated every tick for the curve editor if they implement the ICurveEditorKeyProxy interface, which allows them to refresh their current value. - Ideally, the same mechanisms would be used in the main sequence interface, and we would be generating the proxy classes at runtime based on the key value type, but that work remains a separate task from this initial offering. #jira UE-56165 Change 3966564 by Andrew.Rodham Curve Editor: Expand to frame when adding or moving keys in the curve editor Change 3967051 by andrew.porter MediaFrameworkTest: Set the CameraPlayer_Video texture to auto clear Change 3967141 by Andrew.Rodham Sequencer: Keep track of spawned objects that have been modified and only re-save such object's default spawnable state on destruction - Now that we're taking this approach, I've remove serveral redundant bits of functionality in the spawn register such as making some spawnables read-only, and the PreSave binding for Sequencer. - We now hook into all object pre-saves to make sure we handle the case where the sequences are saved through the content browser or elsewhere. #jira UE-47686 Change 3967170 by Andrew.Rodham Sequencer: Added the ability to possess anim instances as object bindings - This allows full and direct animation of properties on UAnimInstance, and animation blueprints - Object Bindings are made by first possessing a skeletal mesh component, then choosing the + Add button where its anim instance will be listed - Added a new function to UMovieSceneSequence to gather previously cached objects that should now be invalidated. Anim instances will be re-resolved if a new UAnimInstance is assigned to USkeletalMeshComponent::GetAnimInstance. - ObjectBindingIDs for anim instances are just represented by an entry in a set of GUIDs. We only ever resolve such bindings through USkeletalMeshComponent::GetAnimInstance. - Only currently supported on LevelSequences #jira UE-56132 Change 3967195 by Max.Preussner Core: Updated TRangeSet to use TCallTraits Change 3967345 by JohnHenry.Carawon Test Content Changes - first iteration of spacing out the examples in the shots. Change 3967572 by Max.Chen Sequencer: Fix setting PreviousPlayEvalPosition until after we've tested whether it's set. #jira UE-56518 Change 3967750 by Max.Chen Audio: Set duration based on number of input channels, rather than number of channels to serialize. This fixes an issue where audio split into 2 channels is set to a duration that's twice as long. #jira UE-56430 Change 3967836 by Max.Chen Sequencer: Allow for animating array elements within ustruct properties #jira UE-55887 Change 3968506 by Matt.Hoffman Fixed ambiguous conversions for seconds and frames being overriden by ambiguous conversion to Timecode (in frames). Change 3968748 by Max.Chen Sequencer: Make the event properties submenu widget larger. #jira UE-55557 Change 3968862 by Max.Chen Sequencer: Recursive expansion when shift is down #jira UE-52139 #pr 4194 Change 3968863 by Max.Chen Sequencer: Bind rename command to selected track so that F2 shortcut start renaming #jira UE-52139 #pr 4194 Change 3968872 by Max.Chen Sequencer: Rekey the selected key at the current time. #jira UESEQ-396 Change 3968938 by Max.Chen Cine Camera: Add option to toggle the behavior of locking the rail mount to the orientation of the spline. By default, the option is off, no change in behavior. #jira UE-55815 Change 3968958 by Andrew.Rodham Sequencer: Consider vertical position when hittesting keys #jira UE-56256 Change 3969643 by Max.Preussner Core: Rounding timespans created from double values towards nearest ticks Change 3969646 by Max.Preussner MediaUtils: Implemented timeout mechanism for block-on-fetch feature Change 3969776 by Mike.Zyracki Added Skip Anim Notifiers Toggle per what was in Matinee. Investigated the Enable Root Motion toggle as also discussed but it's implementation is directly contained by the animation asset and unlike animation notifies there seems to be no exposure to interactively disable it during a playback tick. Note if we are generating thumbnails we still automtically disable notifies in the editor to avoid annoying noise playback. Note that if Enable Root Motion/Root locked is specified in the animation asset it does correctly effect the Sequencer. #jira UESEQ-399 Change 3969835 by Matt.Hoffman Playback Range and Selection Range use unified logic for adding themselves as potential snap locations which properly handles inclusive/exclusive bounds. This resolves an issue where having an unset selection range caused a potential snap location to be added on frame 0 and 1 (internal resolution) which caused a misalignment when placing objects near frame 0. This also removes the one frame offset on setting Selection Range to bring behavior inline with other ranges. #jira UE-55420 Change 3969885 by Max.Preussner MediaAssets: Don't register media player CDO with media ticker Change 3971129 by Andrew.Rodham Sequencer: Fixed UMovieSceneSequencePlayer::GotToEndAndStop() not taking into account for start time This is a remnant from when the times were always specified in 0-duration space, rather than actual sequence times. Change 3972056 by JohnHenry.Carawon More updates to Test Content. I continued spacing out the examples in the sequence so that they have a consistent number of frames between each example and during the start/end of the example. Also removed the Marcie sublevel. Change 3972066 by Andrew.Porter MediaFrameworkTest: Setting Marcie folder to be never cooked in package settings Change 3972675 by Matt.Hoffman Splitting Subsequence Sections no longer sets an incorrect playback range on the subsequence when the subsequence has a different internal resolution than the owning sequence. #jira UE-55453 Change 3973376 by Max.Preussner ImgMedia: Zero is the only valid video track for image sequences Change 3973489 by Max.Preussner Launch: Build rules cleanup pass - don't use Media, MediaUtils on server apps - don't link against Media (include-only dependency) - don't include from MediaAssets (dynamic load only) Change 3973760 by Max.Preussner MediaUtils: Moved AppMediaTimeSource implementation into its own file; added logging Change 3973765 by Max.Preussner ImgMedia: Disallowing seek beyond media length Change 3973855 by Max.Preussner MediaFrameworkTest: Updated developer test content Change 3973858 by Max.Preussner MediaCompositing: Blocking on media player time instead of media sample time (the former may not be hit in the current frame) Change 3974988 by Max.Chen Sequencer: Fix trim left so that it also sets the start offset for audio and skeletal animation sections. #jira UE-57015 Change 3976101 by Matt.Hoffman Sequencer will now focus the scroll view on newly created items. #jira UE-56492 Change 3976203 by Max.Chen Property Editor: Add DetailsViewArgs for ColumnWidth. Defaults to 0.65f, no change in existing behavior. Change 3976205 by Max.Chen Sequencer: Set better column widths for sequencer. #jira UE-55557 Change 3976206 by Max.Chen Sequencer: Added menu category for import/export Change 3976265 by Matt.Hoffman Tracks within Object Binding Nodes will now sort using the old behavior so that components are added above other track types. #jira UE-56473 Change 3976901 by Max.Chen Sequencer: Add event names to event track section #jira UESEQ-353 Change 3977878 by Max.Preussner Media: Moved media framework ticking stats into Media module Change 3977982 by Max.Chen Sequencer: Add Edit->Reset section length to duration of source (ie. audio, skeletal animation, shot length) Added MovieSceneSection::GetDefaultDuration and MovieScene::HasDefaultDuration #jira UESEQ-392 Change 3977994 by Max.Preussner Media: Fetching and rendering media samples before viewports are rendered (to ensure frame sync for in-level media playback) #jira UE-53975 Change 3978188 by Matt.Hoffman Easing Curves are now clipped by the sequence's PlayRange when testing against an infinite section. This causes blended sequences to finish their blend when the section starts/ends instead of always using 25% of the total section length to determine default blend range. #jira UE-56362 Change 3978676 by Max.Preussner MediaCompositing: Fixed first frame of rendered out media track missing #jira UE-53975 Change 3978684 by Max.Preussner MediaCompositing: Enabled media track frame sync feature #jira UE-53975 Change 3980026 by Matt.Hoffman Keys can be selected on folded out sections (such as an audio track expanded to show volume and pitch) again. #jira UE-57169 Change 3981614 by Max.Preussner MediaUtils: Added missing subtitle sample queue flush Change 3982311 by Max.Preussner MediaCompositing: Added safeguard for zero length media sources Change 3982389 by andrew.porter QAGame: Adding media track test content into FrameAccuracySubscene Change 3983661 by Max.Chen Sequencer: Add level name to spawn a spawnable into. Add sublevel menu option to set the level #jira UESEQ-390 Change 3983712 by Andrew.Rodham Sequencer: Purge legacy blueprint spawnables from LevelSequence packages #tests Ran a preflight for cooking fortnite, ocean and Orion. Only orion shows up this edge case, and will require a re-save of the EndCines level #jira UE-39173 Change 3983787 by Max.Preussner MediaCompositing: Moved compile time switch for block-on-fetch into media player facade Change 3983812 by Andrew.Rodham Sequencer: Exposed default level sequence instance data to blueprints Change 3984373 by Max.Preussner Media: Added API for quering whether player plug-in supports block on fetch Block on fetch allows Sequencer and other systems to block the game thread until a desired video frame has been decoded. Change 3984670 by JohnHenry.Carawon Movie Rendering Test Content progress. Saving the state of the content. There is a bug where things got replaced with particle emitters and I think it was because I tried to copy paste an animation track into a separate skeletal mesh track. Change 3985097 by Max.Chen Sequencer: Rename Reset to AutoSize Change GetAutoSizeDuration to return TOptional<FFrameTime> #jira UESEQ-392 Change 3986043 by Max.Chen Sequencer: Fix crash when attach/path duration is less than 0. #jira UE-57310 Change 3986373 by Max.Chen Sequencer: Add support for deleting tracks and channels which equates to setting the channel mask. #jira UE-52951 Change 3986375 by Max.Chen Sequencer: Add Create Pose Asset to skeletal animation section. This allows animators to blend animations in sequencer and create new pose assets from them. #jira UESEQ-408 Change 3986796 by Andrew.Rodham Sequencer: Fixed stale object references remaining in ULevelSequence::BindingReferences when using convert to spawnable/possessable - We used to convert objects by creating a new binding, then re-assigning its GUID, which meant we didn't have to do any further object fixup, but the code to achieve this was confusing and led to a vulnerability where object references would not be cleaned up correctly due to the newly created possessable essentially being a temporary object that's immediately thrown away. - To address this, there is now a function for porting all the contents of one object binding to another, and handles the correct fixup required for parent/child object bindings for both spawnables and possessables. - Also added codepath to remove any stale object references from the level sequence reference map on PostLoad (this piggy-backs off the PurgeLegacyBlueprints object version which is close close enough to this change to be identical) #tests Verified that existing sequences with stale references get cleaned up on load. Verified that repreatedly converting from spawnable<->possessable cleans up references correctly. Change 3987807 by JohnHenry.Carawon Updates to the MovieRendering Test Content. - Fixed the spawnable actors that were overwritten - Shortend the Lighting example and combined the Intensity and Color tracks - Organized the Sequence and WorldOutliner to group the examples. Change 3988151 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. Change 3988880 by Max.Chen Sequencer: Support enter to add asset for all sequencer track editors that have asset pickers. #jira UE-57367 Change 3988953 by Max.Chen Sequencer: Make the track color picker focusable so that it will close when you click away or lose focus. #jira UE-57210 Change 3988962 by Max.Chen MovieSceneCapture: Fix EDL export so that it takes into account movie scene frame resolution and desired frame rate. #jira UE-57365 Change 3988964 by Max.Chen Movie Scene Capture: Clarified tooltip for bRelativeFrameNumbers. If you specify custom start/end frames for the recording, they will be relative to the playback range. #jira UE-57308 Change 3989442 by Max.Chen Fix CIS Change 3991548 by Matt.Hoffman Dragging the time slider no longer causes the time slider to ignore snap-to-interval with "Snap to Keys While Scrubbing" when no keys are in range. #jira UE-57417 Change 3991598 by Matt.Hoffman Snap to Key while scrubbing now mirrors the behavior of "jump to next key". When there are no tracks selected it snaps to all keys and when there are tracks selected it snaps to only keys from that track. This also resolves an issue where deleting an object did not remove it from the Sequencer's selection. Undoing a delete already doesn't seem to restore your selection, so removing it from your selection shouldn't change that behavior. #jira UE-57417 Change 3991603 by Max.Chen Sequencer: Disable EditAnywhere for some section properties #jira UE-53530 Change 3992240 by Max.Preussner MediaAssets: Implemented dynamic audio sample rate adjustment based on audio/media clock drift #jira FORT-70638 Change 3992911 by Andrew.Rodham Sequencer: Fixed saving spawnable state using the wrong spawned object - We now track the object binding ID so that we can apply the spawned object to the correct spawnable when the asset is saved #jira UE-57353 Change 3992914 by Max.Chen Movie Scene Capture: Fix compression quality not being set. The compression interface wasn't being found through query interface, so no compression was being set. Reworked finding it through the output pins. Tested running various compression values. #jira-UE-55488 Change 3992919 by Max.Chen Sequencer: Convert to possessable now uses object template instead of copying properties (ie. see LevelSequenceActorSpawner). This fixes MIDs getting lost when converting to spawnable and back to possessable. #jira UE-52400 Change 3993184 by Max.Chen Sequencer: Don't show +Transform/+Path/+Attach track if the actor has the "Mobility" property hidden. Set the Landscape, LandscapeProxy and InstancedFoliage "Mobility" property to be hidden since it is static is not supposed to be dynamically movable. #jira UE-56347 Change 3993238 by Max.Chen Sequencer: Test for hidden mobility in creating keys as well. Refactored to HasHiddenMobility() #jira UE-56347 Change 3993978 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. #jira UE-57489 Change 3994039 by Max.Chen Landscape: Add Mobility to hidecategories on landscape component #jira UE-56347 Change 3994626 by JohnHenry.Carawon Updated Movie Rendering Test Content. - Fixed the overridden spawnables to their proper object types. Change 3994653 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Import functionality, improved Export functionality #jira UESEQ-358 Change 3995609 by Max.Chen UMG: Add support for 2d transform mask (translation, rotation, scale, shear) #jira UE-52951 Change 3995778 by JohnHenry.Carawon Movie Rendering Test Content Updates - Adjusted Lights example - Adjusted Camera example - Added Marcie sublevel back in Change 3995942 by JohnHenry.Carawon QAGame: Moving Movie Rendering test content from Developer folder to Sequencer folder Also adjusted level visibility, lights and camera example. Change 3995993 by Christina.TempelaarL Sequencer: FCPXML Export updates - only export sections if in playback range and media exists, warn if media does not exist. Other updates - removed unused methods and variables, fixed message context naming to be more accurate #jira UESEQ-358 Change 3996595 by andrew.porter QAGame: Updating Marcie content in TrackEvaluation level to use Image Plate Change 3996614 by andrew.porter QAGame: Adding color test sequence to the sublevel Change 3996643 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 3996652 by Max.Preussner Messaging: Fixed delayed messaging using incorrect current time after message router sleep Based on https://github.com/EpicGames/UnrealEngine/pull/4601 Change 3996801 by Max.Chen Sequencer: Fix folder active state for non key area sections. Look at track node sections as well as key areas. #jira UE-57550 Change 3997098 by Matt.Hoffman Cleaned up some remaining ToDo's in STimeRange. Change 3998339 by Max.Preussner Sockets: Added documentation for socket receive functions Change 3998359 by Max.Preussner MediaUtils: Started to implement media recorder helper class Currently only supports BGRA frames in CPU memory. Supporting other formats and buffer types will require conversions on render-thread. I recommend refactoring out the existing conversion code in FMediaTextureResource into a reusable helper class in the MediaUtils module. This should be a good starting point though. Change 3998417 by Matt.Hoffman Keys and Sections can now be moved at the same time inside of Sequencer. Keys can now snap to Sections (and vice versa) instead of just to other Keys. Sections can now be duplicated like keys can. #jira UE-56995 Change 3998427 by JohnHenry.Carawon QAGame: Updating test content for the Movie Rendering feature. - Added an auto activate particle to the beginning of the sequence (it's not part of the sequence at all) - Added an event receiver blueprint to the Events example - Added a particle emitter to both sublevels - Added a camera cut to the end that switches to a separate camera - The camera zoom in, focus and Look At sections are all separate (not overlapping in the sequence) - Added a second actor for the camera Look At - Added a Visibility section for the Actor Hidden In Game track that has possessable and spawnable cube and light Change 3998537 by Max.Chen Sequence Recorder: Restore immersive mode when stopping the sequence even if not in PIE. #jira UE-56407 Change 3999809 by Matt.Hoffman Removed the "Go To" box from Sequencer and instead placed the current time as an always visible control. The previous shortcut (Ctrl + G) now focuses the new widget directly. #jira UESEQ-376 Change 4000543 by Christina.TempelaarL Sequencer: Moving editor-only code from runtime module MovieSceneCapture to editor module MovieSceneTools. Moved EDL and FCP XML exporters as well as Automated Level Scene Capture. #jira UESEQ-358 Change 4000706 by Matt.Hoffman Entering multiple time strings without a number no longer crashes Sequencer. #jira UE-57672 Change 4001051 by andrew.porter MediaFrameworkTest: Fixing up some image sources pointing to the wrong location Change 4001191 by andrew.porter QAGame: Adding some quick EDL/XML test content to dev folder Change 4001243 by Max.Chen Sequencer: Fix import EDL out of range. #jira UE-57665 Change 4001856 by Matt.Hoffman Selecting keys and sections at the same time now also works with animation and audio sections. #jira UE-57716 Change 4002021 by Max.Chen Sequence Recorder: Fix sequence name incrementing. If external recording sets the sequence name, use it. Otherwise, use the recording name from the recording group or the recording settings. #jira UE-57712 Change 4002618 by Max.Chen Viewport: Update the look at location when updating to a locked actor. This fixes an issue so that popping the view out of a locked actor and manipulating the view will not jump to the previous look at location. #jira UE-57725 Change 4002979 by Matt.Hoffman Fixes several edge cases with the end time range that was causing confusion about what the last frame of the sequence was. Dragging the End Frame slider will no longer be off by one tick and jumping to the end via the UI controls now properly respects snapping and stays inside the play range instead of falling outside of it. Overall behavior does not change though and End Frame should be considered an exclusive frame so that frames 0-150 results in a 150 frame long animation (which is frames 0-149). #jira UE-56367 Change 4003185 by Matt.Hoffman Fixed a regression that prevented a section from being dragged upwards past row 0 which normally resulted in all other rows moving down. #jira UE-57717 Change 4003193 by JohnHenry.Carawon QAGame: Updates to test content - Shortened frames between the examples from 95 to 30 - Separated camera setting tracks - Lighting example now switches directly from constant red - green - blue Change 4003369 by Max.Chen Sequence Recorder: Refresh next sequence regardless of internally stored sequence name. #jira UE-55757 Change 4003586 by JohnHenry.Carawon QAGame: Test Content Updates - Level Visibility track now ends to that the levels are not visible when we move to the next example - Shortened camera section, removed Z tranform so that we just move left to right and shortened the overall length Change 4004414 by Max.Chen Movie Scene Capture: Fix regression where rendering with shot handles would only render the first shot. 3972166 addressed an issue where an extra frame would be rendered by finalizing right when the end frame was reached. This was hit on the first shot end frame, so instead, do this only for when the last shot is being rendered. #jira UE-57314 Change 4004765 by Christina.TempelaarL Sequencer: Fixed bugs in FCP XML import/export. - Export: fixed sequence default resolution. - Export: fixed XML files with no shots. - Export: all sections clipped to playback range. - Export: fixed incorrect section start/end times due to precision issues. - Import: fixed incorrectly adding cinematic tracks. - Import: fixed bugs creating new sections. #jira UE-57660 #jira UE-57662 #jira UE-57655 #jira UE-57761 Change 4005119 by Max.Chen Sequencer: Export/import at play rate Change 4005195 by Max.Chen UMG: Finish UMG evaluation on stop. Added object version so that existing UMG assets do not change. #tests - Newly created UMG animation with sections set to restore state now return to their original state. Existing UMG animations with sections set to restore state do not return to their original state. #jira UE-52285 Change 4005377 by Michael.Karambelas QAGame: Moving TM-SequenceRecorder and related content out of my developer folder and into /Content/Sequencer/SequencerRecorder/* Change 4005417 by Michael.Karambelas QAGame: Fixed a BP compiler in the Level Blueprint of TM-SequencerRecorder. Change 4005634 by Michael.Karambelas QAGame: Fix up missing content and broken level sequence in TM-SequenceRecorder after move Change 4006324 by Max.Chen Sequencer: Reset if the focused movie scene is null. This fixes a crash if the user is focused in on a shot and undo takes the user past the point of where the shot was created. #jira UE-57752 #jira UE-47661 Change 4007006 by Max.Chen Sequencer: Fix FindAvailableRowIndex so that it returns the max row index (and not +1) since it doesn't find any conflicting rows. #jira UE-57717 Change 4007907 by Max.Chen Sequencer: Fix crash if there's no animation Change 4007948 by andrew.porter QAGame: added test content to dev folder for Record World Space Change 4008636 by Max.Chen Sequencer: Fix import fbx not setting values properly and creating additional cameras unncessarily. #jira UE-57864 Change 4008759 by Max.Chen Sequencer: Follow up fix for import cameras #jira UE-57864 Change 4009994 by Matt.Hoffman Dragging the left or right handles of the Time Range slider in Sequencer will now zoom your view in on the current center of the screen. This prevents the view from being translating as you tried to zoom in which caused issues at high zoom levels. #jira UESEQ-407 Change 4010169 by Christina.TempelaarL Sequencer: FCP XML fixes. - FCP XML export - no longer clips to playback range - FCP XML and EDL export - fixed missing last frame of some sections after exporting to Premiere. - Automated level capture, EDL export - use RoundToFrame instead of FloorToFrame for computing section start/end frames after frame rate conversion. #jira UE-57802 - partial fix, movie scene capture still needs to render full section rather than clip against playback. Change 4010287 by Mike.Zyracki Add quaternion interpolation option to UMovieScene3DTransformSection. This mimics how Matinee used to work by bascially finding the keys between a time and interpolating the angles as quat's between them. As noted in the code the algorithm needs to handle the case when the x,y,z Rotation keys all aren't at the same time which was not handled by Matinee. Also like Matinee, when in quaternion interoplation mode, we need to not display the function cuves since the interpolated and key values are now all different. (Would like to show them but that's a bigger refactor for perhaps just a one off needed by quaternions). I added a virtual function UMovieSceneSection::ShowCurveForChannel for this since it needs to be dynamic, not on construction of IKeyArea's, and could be useful for other sections. I could though move the method to just UMovieScene3DTransformSection and do a cast instead. Looked into doing a unit test for this but after talking with Andrew P we will work on doign an automated test in EngineQA since that will provide more coverage. Will also add a video the jira. #jira UESEQ-403 Change 4010713 by Mike.Zyracki Added option to key a group of transform channels instead of just the changed channel, or all of them. This is useful for quaternion interpolations where you want rotation keys to be aligned but also useful for other workflows like animating FK Pose to Pose. Change 4010715 by Andrew.Porter MediaFrameworkTest: Setting LogMediaUtils logging from VeryVerbose to Verbose to cut back on the spam Change 4013048 by Max.Chen Sequencer: Fix play/jump status. Update the player status for all position methods (Scrub, Jump, Play). Jump means Stopped. Correctly use PlayTo or JumpTo based on position method. In PlayInternal, JumpTo with the Stopped state (rather than playing state). #jira UE-57844 Change 4013479 by andrew.porter QAGame: Added content in TM-SequenceRecorder to test recording a property on a Cine Camera Component; Press 3 to trigger manual focus distance to increment on a timer Change 4014323 by Max.Chen Sequencer: Fix SetPlaybackPosition so that it jumps or plays based on playback status. #jira UE-57844 Change 4015888 by Max.Chen Sequencer: Fix crash on paste. UMovieSceneSections were gathered from the track node's track. For sub track mode, we want to gather only those sections on that track node row. #jira UE-57951 Change 4015943 by Max.Chen Sequencer: Fix moving shots up when the mouse pos goes outside of the virtual track area. #jira UE-57717 Change 4016293 by Max.Chen Sequencer: Fix relative frame playback end frame calculation so that custom start/end frames remain in the space of the sequence and are not relative. #jira UE-57308 Change 4017075 by Andrew.Rodham Sequencer: Corrected initial evaluation range used when calling UMovieSceneSequencPlayer::Play() Change 4017270 by Christina.TempelaarL Sequencer: FCPXML importer and movie scene capture - Use CeilToFrame when converting section start/end frame times to frame numbers in FCPXML and movie scene capture. - Added support for clip metadata in FCPXML. - Got rid of redundant TokenizedError message class, no longer needed now that FCPXML is in editor directory. - Added log messages currently commented out due to exception, still testing. #UESEQ-358 Change 4018370 by Christina.TempelaarL Sequencer: fixed FCPXML log messages regarding sections with start/end not divisible by display rate. #UESEQ-358 Change 4018378 by Christina.TempelaarL Sequencer: fixed error in previous changelist. #UESEQ-358 Change 4019457 by Max.Chen Sequencer: Show event names only when the event track is selected #jira UE-57897 Change 4022806 by Max.Chen Sequencer: Fix crash on movie scene capture dialog shutdown if movie capture wasn't even started. #jira UE-58106 Change 4022894 by Max.Chen Sequence Recorder: Wrap OpenEditorForAssets after sequence recording within GIsEditor #jira UE-58084 Change 4024487 by Max.Chen Sequencer: Add tooltip for quat interpolation #jira UE-58113 Change 4024562 by Max.Chen Sequencer: Change path/attach track sequence binding id to currently focused sequence id so that bindings can be created in subsequences Change 4027414 by JohnHenry.Carawon QAGame: Checking in content that shows a bug with using particles systems and Delay Before Shot Warm Up. Change 4028990 by Max.Chen Sequencer: Fix evaluate sub sequences in isolation. This check was added with the compile on the fly logic. Not sure why it was necessary but it seems like the sub sequence data needs to be updated in order to evaluate sub sequences in isolation. #jira UE-58184 Change 4029004 by Max.Chen Sequencer: Ensure that old binding references are removed when re-assigning actors in sequencer #jira UE-57898 Change 4030997 by JohnHenry.Carawon QAGame: Fixing name of the master sequence Change 4031785 by Michael.Karambelas QAGame: Added an instance of ThirdPerson Run to TM-SequenceRecorder for Record to Possessable test. Change 4035548 by Andrew.Rodham Sequencer: Changed FMovieSceneEvaluationTemplate::TemplateSignature to be a serial number to address non-deterministic cooking issues - This commit is related to the repro steps found in 3914599 and 3934307, both of which have been verified with this new change. - Copy of 4031684 from //Fortnite/Main/... #jira FORT-84852 Change 4036312 by Max.Chen Sequencer: Fix zoom view range so that it uses the passed in InZoomDelta Change 4036318 by Max.Chen Sequencer: Auto size now returns a range and defaults to the channel proxy range so that keyed regions can also be autosized. Change 4036322 by Max.Chen Forgot missing change Change 4036360 by Max.Chen Sequencer: Fix play rate calculation when skeletal animation section play rate changes. Change 4037163 by Mike.Zyracki Weighted Tangent Implementation Tricky thing is that you need to solve a cubic in order to get the bezier weights for the time part of the curve. See https://www.gamedev.net/forums/topic/474094-help-function-curves-for-animation-interpolation/ Maya provides an implementation in it's dev kit but I didn't use it since it was horribly slow and uses an iterative solution to solve the cubic needed. Instead I use an old algorithm (Cardano's method), to solve the cubic which should be much faster. Though relative simple to code from principles I just went ahead and used a version from Graphics Gems 1. I put this cubic solver directly in MovieSceneFloatChannel.cpp, but will need to move it when we support Rich Curve, maybe to FMath:: (which would probalby require some other functions for solving quartics, etc.. for completeness.). Also note we resolve this on every evaluation but dont' need to if the interval the time is evaluating hasn't had any change in values or tangents. So again when we support FRichCurve we can create a Weighted Evaluating class that can hold the cache. Also with the tangent drags I got rid of the Cardinal position that was used to calculate non-weight tangents from the key point and just quickly getting a direction. With weighted tangents we need to use the delta instead (otherwise when moving multiple they would all get the same weight based upon distance to the cardinal point. ) For mixed tangents types what I'm defaulting to non weighted if the interval doesn't match. May need to do weighted instead, not sure. What's left is just FBX import, for tomorrow. #jira UESEQ-76 Change 4037435 by Mike.Zyracki Fix fo build warnings from weighted tangent submission. #trivial Change 4038091 by Michael.Karambelas QAGame: Updated a Sequence Recorder group in TM-SequenceRecorder that had an actor missing the animation. Change 4038374 by Andrew.Rodham Sequencer: Refined scrubber styling for level sequences and actor sequences - Scrubber now shows a block the width of a dsplay rate frame, plus a line for the actual evaluated time. UMG reverts back to the previous styling (no block) - Keys that are outside of the playback range are now drawn with a subdued effect - Tick labels are no longer drawn when directly underneath the scrubber Change 4038490 by Max.Chen Sequencer: Expose tangent weight values in details panel. Change 4038620 by Andrew.Rodham Sequencer: Advanced time panel polish #jira UESEQ-426 Change 4038677 by Max.Chen Movie Scene Capture: Redirector for MovieSceneTools.AutomatedLevelSequenceCapture #jira UE-58248 Change 4039739 by Max.Chen Sequencer: Media track should only be supported by Level Sequence Change 4040024 by JohnHenry.Carawon QAGame: Fix EventReciever and OverrideBinding example The level sequence was set to none so the fix was to set it back to TrackEvaluation_Master. Change 4040610 by Andrew.Rodham Curve Editor: Moved weighted tangent switchers to a single toggle command (CTRL+W) and added an icon #jira 58383 Change 4040882 by Mike.Zyracki Keep broken when turning on weighted #jira UE-58435 Change 4041089 by andrew.porter QAGame: Sequence for Long Tangents bug Change 4041498 by Mike.Zyracki Turn off weighted when going auto to prevent large tangents. Do it both in UI and when doing AutoSetTangents() to really make sure it doesn't happen. #jira UE-58452 Change 4041752 by andrew.porter MediaFrameworkTest: Adding some better logging for setting rates when not supported. Also ignoring commiting URL when there is no text Change 4041896 by Matt.Hoffman The transform dialog box now transforms selected keys and sections, instead of just keys. #jira UE-58265 [CL 4044405 by Max Chen in Main branch]
2018-05-02 10:10:00 -04:00
/* IMediaTimeSource interface
*****************************************************************************/
FTimespan FAppMediaTimeSource::GetTimecode()
{
const double CurrentTime = FApp::GetGameTime();
Copying //UE4/Dev-Sequencer to //UE4/Dev-Main (Source: //UE4/Dev-Sequencer @ 4044339) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3947021 by Max.Chen Sequencer: Don't preserve root component when copying object properties. A spawnable empty actor, has a root component that is generated by the empty actor factory. If the object template's root component is preserved when copying from the spawnable empty actor, the root component will not be copied over. Therefore, we need to NOT preserve the root component when copying object properties. #jira UE-55825 Change 3947366 by Max.Preussner WmfMedia: Better log output Change 3947367 by Max.Preussner MfMedia: Better detection of compressed format properties on Windows Change 3949102 by Max.Chen Sequencer: Remove SequenceActorTag when converting to possessable. #jira UE-56206 Change 3949207 by andrew.porter EngineTest: Set the screenshot nodes resolution to 1280x720 Change 3949404 by Max.Chen Sequencer: More informative tooltip for "Rerun Construction Scripts" option. It now says "Rerun construction scripts every frame on actors that have 'Rerun Construction Script in Sequencer' enabled in their class settings". Change 3950067 by Matt.Hoffman Renamed UAutomatedLevelSequenceCapture's StartFrame and EndFrame to CustomStartFrame/CustomEndFrame to reflect that it is user-overriden. This will also resolve upgrade issues due to the variable datatype changing. #jira UE-56189 Change 3950193 by JohnHenry.Carawon Updating my latest MovieRendering test content. Change 3950757 by JohnHenry.Carawon More updates to MovieRendering test content Change 3952059 by Max.Chen Resave LevelVisibility_SubLevels to fix data loss conversion warning of OpacityMaskConstant #jira UE-56086 Change 3952283 by Max.Chen Sequencer: Disable dropping level sequence assets as spawnables. #jira UE-56120 Change 3952422 by Max.Chen Sequence Recorder: Add button to record from the current player. #jira UE-55942 Change 3952987 by JohnHenry.Carawon MovieRendering Test Content - Fixing camera bindings and changing the override binding actor Change 3953823 by Mike.Zyracki Fix for Bad FBX Import Tangents not scaled by frame rate. After looking at this again it seems that a set of MovieScene:: overiddes for the channel traits wasn't set correctly, so use the ADL idiom to use MovieScene, which can then call Optimize in the correct namespace. With this we can now correctly use the passed in tolerance. There was also a redundant set of Optimize calls so that it could happen twice so removed them, and needed an extra check in the float channel Optimize. Also since we need to set auto tangents no matter if we optimize we don't set that parameter(though leave it since it's used by context menu key reduction). Finally fixed speed issue with trajectories caused by calculating way too many substeps. Reverted back to a time based step size for consistency. #jira UE-56193 Change 3954317 by Matt.Hoffman Adding a key to the last frame of a section no longer causes a crash. Keys can already be moved to be on the last frame of a section so now you can just add a key there directly. #jira UE-56255 Change 3954326 by Matt.Hoffman Dilating a section that is only infinite on one side no longer causes a crash. #jira UE-56260 Change 3954486 by Max.Chen PR #4580: Exposes IsReversed() from UMovieSceneSequencePlayer (Contributed by alanedwardes) Change 3955238 by Max.Preussner Messaging: Enabled delayed message routing https://github.com/EpicGames/UnrealEngine/pull/4574 #jira UE-56247 Change 3955901 by Max.Preussner MediaFrameworkTest: Added developer test for overriding desired media player plug-in at runtime. Change 3955922 by Andrew.Porter QAGame: Updating movie rendering content in dev folder Change 3956004 by andrew.porter QAGame: Adding MPC track to movie rendering test content Change 3956510 by Max.Chen Sequencer: Fix fbx camera import of static properties so that they are imported before default tracks are created. Otherwise, the default tracks inherit the default properties of the camera, rather than the values from the fbx. #jira UE-56311 Change 3957613 by Max.Preussner MediaUtils: Added code documentation to media player facade Change 3958005 by Max.Preussner MediaUtils: Added method to get number of sinks Change 3958934 by Max.Chen Sequencer: Fix keys getting added and sequence getting erroneously re-evaluated when auto key is off. Only apply defaults if there are no keys. Only modify the movie scene section before creating keys or setting defaults. #jira UE-55903 Change 3959687 by Andrew.Rodham Sequencer: Fixed visibility track external values being inverted #jira UE-56324 Change 3960507 by Max.Preussner Core: Fixed incorrect rounding in FMath::DivideAndRoundNearest Change 3962047 by JohnHenry.Carawon MovieRendering Test Content Changes: - Add Lightmass Importance Volumes to sublevel to fix warnings - Rebuilt Lighting - Add a third sequence for Gamut testing - Resaved the sound master.uasset to fix warning Change 3962211 by Mike.Zyracki Add Frame Numbers to selected animation sections. Added MapTimeToAnimation to MovieSceneSkeletalAnimation so that we could get it from the Skeleton Animation track Editor. Since the thickness of the frame line can change based upon frame rate and zoom we need to calculate it similarly to how the time slider controller does it. Those calculations were private so we had to expose FScrubRangeToScreen and GetScubberPixelRange from the TimeSliderController. Also needed to know if the section itself was selected so added a bIsSelected flag to the section Painter. Also fixed a bug where you couldn't add a section if other sections existed at different times in MovieScenePropertyTrack and could crash due to the check(). #jira UESEQ-395 Change 3962497 by Max.Preussner Core: Added new string formatting argument to FTimespan Change 3963662 by Max.Chen CineCamera: Flip VistaVision width and height. Change 3963731 by Max.Preussner MediaCompositing: Implemented sequence recording support for media track Change 3964195 by Andrew.Rodham Sequencer: Set inverted property correctly for newly created visibility track sections - Also clamp evaluation for key editors to the bounds of the section so we're not displaying values outside of the section bounds when the cursor is not on the bounds #jira UE-56324 #coderevew Max.Chen Change 3964196 by Andrew.Rodham Sequencer: Fixed crash when attempting to render sections that resulted in a negative intersection with the view range Change 3964275 by Andrew.Rodham Sequencer: Fixed MovieScene::ClampToDiscreteRange for infinite range bounds Change 3964364 by Andrew.Rodham Curve Editor: Reduce minimum vertical view range when zooming to fit Change 3965091 by Max.Chen Sequencer Recorder: Refresh next sequence if empty when starting a recording, otherwise, use existing name. #jira UE-56469 Change 3965148 by Max.Chen Sequence Recorder: Move Record to Possessable to "Actor Recording" group Change 3965162 by Max.Chen Sequence Recorder: Always break out of immersive mode when done recording, even when stopping recording during countdown. #jira UE-56407 Change 3965214 by Max.Preussner QAGame: Enabled ImagePlate plug-in Change 3965574 by Max.Preussner SimpleComposure: Reorganized & upgraded content to work with new Media Track #jira UE-56488 Change 3965651 by Max.Preussner MediaCompositing: Ignoring seek-on-open if media not seekable Change 3966075 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Export functionality #jira UESEQ-358 Change 3966087 by Matt.Hoffman Adding a single key to the Particle Toggle track now makes an infinite range section that is displayed in the UI. #jira UE-56295 Change 3966547 by Andrew.Rodham Sequencer: Fixed rounding errors when drawing the section background on boolean sections - Logic was using time in sectonds which caused rounding errors on evaluation and flickering red/green stripes when dragging keys around #jira UE-56324 Change 3966563 by Andrew.Rodham Curve Editor: Key editor interface improvements - SKeyEditInterface has a few problems - it does not update in real time when editing properties, and does not support multi-edit which makes it unsuitable for use with the curve editor - We now take a different approach for editing keys by gathering a set of proxy UObjects for each key that is currently selected. These objects are added as top level objects to the details panel which means they support multi edit as you'd expect from any other details panel in the editor. - Proxy objects are updated every tick for the curve editor if they implement the ICurveEditorKeyProxy interface, which allows them to refresh their current value. - Ideally, the same mechanisms would be used in the main sequence interface, and we would be generating the proxy classes at runtime based on the key value type, but that work remains a separate task from this initial offering. #jira UE-56165 Change 3966564 by Andrew.Rodham Curve Editor: Expand to frame when adding or moving keys in the curve editor Change 3967051 by andrew.porter MediaFrameworkTest: Set the CameraPlayer_Video texture to auto clear Change 3967141 by Andrew.Rodham Sequencer: Keep track of spawned objects that have been modified and only re-save such object's default spawnable state on destruction - Now that we're taking this approach, I've remove serveral redundant bits of functionality in the spawn register such as making some spawnables read-only, and the PreSave binding for Sequencer. - We now hook into all object pre-saves to make sure we handle the case where the sequences are saved through the content browser or elsewhere. #jira UE-47686 Change 3967170 by Andrew.Rodham Sequencer: Added the ability to possess anim instances as object bindings - This allows full and direct animation of properties on UAnimInstance, and animation blueprints - Object Bindings are made by first possessing a skeletal mesh component, then choosing the + Add button where its anim instance will be listed - Added a new function to UMovieSceneSequence to gather previously cached objects that should now be invalidated. Anim instances will be re-resolved if a new UAnimInstance is assigned to USkeletalMeshComponent::GetAnimInstance. - ObjectBindingIDs for anim instances are just represented by an entry in a set of GUIDs. We only ever resolve such bindings through USkeletalMeshComponent::GetAnimInstance. - Only currently supported on LevelSequences #jira UE-56132 Change 3967195 by Max.Preussner Core: Updated TRangeSet to use TCallTraits Change 3967345 by JohnHenry.Carawon Test Content Changes - first iteration of spacing out the examples in the shots. Change 3967572 by Max.Chen Sequencer: Fix setting PreviousPlayEvalPosition until after we've tested whether it's set. #jira UE-56518 Change 3967750 by Max.Chen Audio: Set duration based on number of input channels, rather than number of channels to serialize. This fixes an issue where audio split into 2 channels is set to a duration that's twice as long. #jira UE-56430 Change 3967836 by Max.Chen Sequencer: Allow for animating array elements within ustruct properties #jira UE-55887 Change 3968506 by Matt.Hoffman Fixed ambiguous conversions for seconds and frames being overriden by ambiguous conversion to Timecode (in frames). Change 3968748 by Max.Chen Sequencer: Make the event properties submenu widget larger. #jira UE-55557 Change 3968862 by Max.Chen Sequencer: Recursive expansion when shift is down #jira UE-52139 #pr 4194 Change 3968863 by Max.Chen Sequencer: Bind rename command to selected track so that F2 shortcut start renaming #jira UE-52139 #pr 4194 Change 3968872 by Max.Chen Sequencer: Rekey the selected key at the current time. #jira UESEQ-396 Change 3968938 by Max.Chen Cine Camera: Add option to toggle the behavior of locking the rail mount to the orientation of the spline. By default, the option is off, no change in behavior. #jira UE-55815 Change 3968958 by Andrew.Rodham Sequencer: Consider vertical position when hittesting keys #jira UE-56256 Change 3969643 by Max.Preussner Core: Rounding timespans created from double values towards nearest ticks Change 3969646 by Max.Preussner MediaUtils: Implemented timeout mechanism for block-on-fetch feature Change 3969776 by Mike.Zyracki Added Skip Anim Notifiers Toggle per what was in Matinee. Investigated the Enable Root Motion toggle as also discussed but it's implementation is directly contained by the animation asset and unlike animation notifies there seems to be no exposure to interactively disable it during a playback tick. Note if we are generating thumbnails we still automtically disable notifies in the editor to avoid annoying noise playback. Note that if Enable Root Motion/Root locked is specified in the animation asset it does correctly effect the Sequencer. #jira UESEQ-399 Change 3969835 by Matt.Hoffman Playback Range and Selection Range use unified logic for adding themselves as potential snap locations which properly handles inclusive/exclusive bounds. This resolves an issue where having an unset selection range caused a potential snap location to be added on frame 0 and 1 (internal resolution) which caused a misalignment when placing objects near frame 0. This also removes the one frame offset on setting Selection Range to bring behavior inline with other ranges. #jira UE-55420 Change 3969885 by Max.Preussner MediaAssets: Don't register media player CDO with media ticker Change 3971129 by Andrew.Rodham Sequencer: Fixed UMovieSceneSequencePlayer::GotToEndAndStop() not taking into account for start time This is a remnant from when the times were always specified in 0-duration space, rather than actual sequence times. Change 3972056 by JohnHenry.Carawon More updates to Test Content. I continued spacing out the examples in the sequence so that they have a consistent number of frames between each example and during the start/end of the example. Also removed the Marcie sublevel. Change 3972066 by Andrew.Porter MediaFrameworkTest: Setting Marcie folder to be never cooked in package settings Change 3972675 by Matt.Hoffman Splitting Subsequence Sections no longer sets an incorrect playback range on the subsequence when the subsequence has a different internal resolution than the owning sequence. #jira UE-55453 Change 3973376 by Max.Preussner ImgMedia: Zero is the only valid video track for image sequences Change 3973489 by Max.Preussner Launch: Build rules cleanup pass - don't use Media, MediaUtils on server apps - don't link against Media (include-only dependency) - don't include from MediaAssets (dynamic load only) Change 3973760 by Max.Preussner MediaUtils: Moved AppMediaTimeSource implementation into its own file; added logging Change 3973765 by Max.Preussner ImgMedia: Disallowing seek beyond media length Change 3973855 by Max.Preussner MediaFrameworkTest: Updated developer test content Change 3973858 by Max.Preussner MediaCompositing: Blocking on media player time instead of media sample time (the former may not be hit in the current frame) Change 3974988 by Max.Chen Sequencer: Fix trim left so that it also sets the start offset for audio and skeletal animation sections. #jira UE-57015 Change 3976101 by Matt.Hoffman Sequencer will now focus the scroll view on newly created items. #jira UE-56492 Change 3976203 by Max.Chen Property Editor: Add DetailsViewArgs for ColumnWidth. Defaults to 0.65f, no change in existing behavior. Change 3976205 by Max.Chen Sequencer: Set better column widths for sequencer. #jira UE-55557 Change 3976206 by Max.Chen Sequencer: Added menu category for import/export Change 3976265 by Matt.Hoffman Tracks within Object Binding Nodes will now sort using the old behavior so that components are added above other track types. #jira UE-56473 Change 3976901 by Max.Chen Sequencer: Add event names to event track section #jira UESEQ-353 Change 3977878 by Max.Preussner Media: Moved media framework ticking stats into Media module Change 3977982 by Max.Chen Sequencer: Add Edit->Reset section length to duration of source (ie. audio, skeletal animation, shot length) Added MovieSceneSection::GetDefaultDuration and MovieScene::HasDefaultDuration #jira UESEQ-392 Change 3977994 by Max.Preussner Media: Fetching and rendering media samples before viewports are rendered (to ensure frame sync for in-level media playback) #jira UE-53975 Change 3978188 by Matt.Hoffman Easing Curves are now clipped by the sequence's PlayRange when testing against an infinite section. This causes blended sequences to finish their blend when the section starts/ends instead of always using 25% of the total section length to determine default blend range. #jira UE-56362 Change 3978676 by Max.Preussner MediaCompositing: Fixed first frame of rendered out media track missing #jira UE-53975 Change 3978684 by Max.Preussner MediaCompositing: Enabled media track frame sync feature #jira UE-53975 Change 3980026 by Matt.Hoffman Keys can be selected on folded out sections (such as an audio track expanded to show volume and pitch) again. #jira UE-57169 Change 3981614 by Max.Preussner MediaUtils: Added missing subtitle sample queue flush Change 3982311 by Max.Preussner MediaCompositing: Added safeguard for zero length media sources Change 3982389 by andrew.porter QAGame: Adding media track test content into FrameAccuracySubscene Change 3983661 by Max.Chen Sequencer: Add level name to spawn a spawnable into. Add sublevel menu option to set the level #jira UESEQ-390 Change 3983712 by Andrew.Rodham Sequencer: Purge legacy blueprint spawnables from LevelSequence packages #tests Ran a preflight for cooking fortnite, ocean and Orion. Only orion shows up this edge case, and will require a re-save of the EndCines level #jira UE-39173 Change 3983787 by Max.Preussner MediaCompositing: Moved compile time switch for block-on-fetch into media player facade Change 3983812 by Andrew.Rodham Sequencer: Exposed default level sequence instance data to blueprints Change 3984373 by Max.Preussner Media: Added API for quering whether player plug-in supports block on fetch Block on fetch allows Sequencer and other systems to block the game thread until a desired video frame has been decoded. Change 3984670 by JohnHenry.Carawon Movie Rendering Test Content progress. Saving the state of the content. There is a bug where things got replaced with particle emitters and I think it was because I tried to copy paste an animation track into a separate skeletal mesh track. Change 3985097 by Max.Chen Sequencer: Rename Reset to AutoSize Change GetAutoSizeDuration to return TOptional<FFrameTime> #jira UESEQ-392 Change 3986043 by Max.Chen Sequencer: Fix crash when attach/path duration is less than 0. #jira UE-57310 Change 3986373 by Max.Chen Sequencer: Add support for deleting tracks and channels which equates to setting the channel mask. #jira UE-52951 Change 3986375 by Max.Chen Sequencer: Add Create Pose Asset to skeletal animation section. This allows animators to blend animations in sequencer and create new pose assets from them. #jira UESEQ-408 Change 3986796 by Andrew.Rodham Sequencer: Fixed stale object references remaining in ULevelSequence::BindingReferences when using convert to spawnable/possessable - We used to convert objects by creating a new binding, then re-assigning its GUID, which meant we didn't have to do any further object fixup, but the code to achieve this was confusing and led to a vulnerability where object references would not be cleaned up correctly due to the newly created possessable essentially being a temporary object that's immediately thrown away. - To address this, there is now a function for porting all the contents of one object binding to another, and handles the correct fixup required for parent/child object bindings for both spawnables and possessables. - Also added codepath to remove any stale object references from the level sequence reference map on PostLoad (this piggy-backs off the PurgeLegacyBlueprints object version which is close close enough to this change to be identical) #tests Verified that existing sequences with stale references get cleaned up on load. Verified that repreatedly converting from spawnable<->possessable cleans up references correctly. Change 3987807 by JohnHenry.Carawon Updates to the MovieRendering Test Content. - Fixed the spawnable actors that were overwritten - Shortend the Lighting example and combined the Intensity and Color tracks - Organized the Sequence and WorldOutliner to group the examples. Change 3988151 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. Change 3988880 by Max.Chen Sequencer: Support enter to add asset for all sequencer track editors that have asset pickers. #jira UE-57367 Change 3988953 by Max.Chen Sequencer: Make the track color picker focusable so that it will close when you click away or lose focus. #jira UE-57210 Change 3988962 by Max.Chen MovieSceneCapture: Fix EDL export so that it takes into account movie scene frame resolution and desired frame rate. #jira UE-57365 Change 3988964 by Max.Chen Movie Scene Capture: Clarified tooltip for bRelativeFrameNumbers. If you specify custom start/end frames for the recording, they will be relative to the playback range. #jira UE-57308 Change 3989442 by Max.Chen Fix CIS Change 3991548 by Matt.Hoffman Dragging the time slider no longer causes the time slider to ignore snap-to-interval with "Snap to Keys While Scrubbing" when no keys are in range. #jira UE-57417 Change 3991598 by Matt.Hoffman Snap to Key while scrubbing now mirrors the behavior of "jump to next key". When there are no tracks selected it snaps to all keys and when there are tracks selected it snaps to only keys from that track. This also resolves an issue where deleting an object did not remove it from the Sequencer's selection. Undoing a delete already doesn't seem to restore your selection, so removing it from your selection shouldn't change that behavior. #jira UE-57417 Change 3991603 by Max.Chen Sequencer: Disable EditAnywhere for some section properties #jira UE-53530 Change 3992240 by Max.Preussner MediaAssets: Implemented dynamic audio sample rate adjustment based on audio/media clock drift #jira FORT-70638 Change 3992911 by Andrew.Rodham Sequencer: Fixed saving spawnable state using the wrong spawned object - We now track the object binding ID so that we can apply the spawned object to the correct spawnable when the asset is saved #jira UE-57353 Change 3992914 by Max.Chen Movie Scene Capture: Fix compression quality not being set. The compression interface wasn't being found through query interface, so no compression was being set. Reworked finding it through the output pins. Tested running various compression values. #jira-UE-55488 Change 3992919 by Max.Chen Sequencer: Convert to possessable now uses object template instead of copying properties (ie. see LevelSequenceActorSpawner). This fixes MIDs getting lost when converting to spawnable and back to possessable. #jira UE-52400 Change 3993184 by Max.Chen Sequencer: Don't show +Transform/+Path/+Attach track if the actor has the "Mobility" property hidden. Set the Landscape, LandscapeProxy and InstancedFoliage "Mobility" property to be hidden since it is static is not supposed to be dynamically movable. #jira UE-56347 Change 3993238 by Max.Chen Sequencer: Test for hidden mobility in creating keys as well. Refactored to HasHiddenMobility() #jira UE-56347 Change 3993978 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. #jira UE-57489 Change 3994039 by Max.Chen Landscape: Add Mobility to hidecategories on landscape component #jira UE-56347 Change 3994626 by JohnHenry.Carawon Updated Movie Rendering Test Content. - Fixed the overridden spawnables to their proper object types. Change 3994653 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Import functionality, improved Export functionality #jira UESEQ-358 Change 3995609 by Max.Chen UMG: Add support for 2d transform mask (translation, rotation, scale, shear) #jira UE-52951 Change 3995778 by JohnHenry.Carawon Movie Rendering Test Content Updates - Adjusted Lights example - Adjusted Camera example - Added Marcie sublevel back in Change 3995942 by JohnHenry.Carawon QAGame: Moving Movie Rendering test content from Developer folder to Sequencer folder Also adjusted level visibility, lights and camera example. Change 3995993 by Christina.TempelaarL Sequencer: FCPXML Export updates - only export sections if in playback range and media exists, warn if media does not exist. Other updates - removed unused methods and variables, fixed message context naming to be more accurate #jira UESEQ-358 Change 3996595 by andrew.porter QAGame: Updating Marcie content in TrackEvaluation level to use Image Plate Change 3996614 by andrew.porter QAGame: Adding color test sequence to the sublevel Change 3996643 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 3996652 by Max.Preussner Messaging: Fixed delayed messaging using incorrect current time after message router sleep Based on https://github.com/EpicGames/UnrealEngine/pull/4601 Change 3996801 by Max.Chen Sequencer: Fix folder active state for non key area sections. Look at track node sections as well as key areas. #jira UE-57550 Change 3997098 by Matt.Hoffman Cleaned up some remaining ToDo's in STimeRange. Change 3998339 by Max.Preussner Sockets: Added documentation for socket receive functions Change 3998359 by Max.Preussner MediaUtils: Started to implement media recorder helper class Currently only supports BGRA frames in CPU memory. Supporting other formats and buffer types will require conversions on render-thread. I recommend refactoring out the existing conversion code in FMediaTextureResource into a reusable helper class in the MediaUtils module. This should be a good starting point though. Change 3998417 by Matt.Hoffman Keys and Sections can now be moved at the same time inside of Sequencer. Keys can now snap to Sections (and vice versa) instead of just to other Keys. Sections can now be duplicated like keys can. #jira UE-56995 Change 3998427 by JohnHenry.Carawon QAGame: Updating test content for the Movie Rendering feature. - Added an auto activate particle to the beginning of the sequence (it's not part of the sequence at all) - Added an event receiver blueprint to the Events example - Added a particle emitter to both sublevels - Added a camera cut to the end that switches to a separate camera - The camera zoom in, focus and Look At sections are all separate (not overlapping in the sequence) - Added a second actor for the camera Look At - Added a Visibility section for the Actor Hidden In Game track that has possessable and spawnable cube and light Change 3998537 by Max.Chen Sequence Recorder: Restore immersive mode when stopping the sequence even if not in PIE. #jira UE-56407 Change 3999809 by Matt.Hoffman Removed the "Go To" box from Sequencer and instead placed the current time as an always visible control. The previous shortcut (Ctrl + G) now focuses the new widget directly. #jira UESEQ-376 Change 4000543 by Christina.TempelaarL Sequencer: Moving editor-only code from runtime module MovieSceneCapture to editor module MovieSceneTools. Moved EDL and FCP XML exporters as well as Automated Level Scene Capture. #jira UESEQ-358 Change 4000706 by Matt.Hoffman Entering multiple time strings without a number no longer crashes Sequencer. #jira UE-57672 Change 4001051 by andrew.porter MediaFrameworkTest: Fixing up some image sources pointing to the wrong location Change 4001191 by andrew.porter QAGame: Adding some quick EDL/XML test content to dev folder Change 4001243 by Max.Chen Sequencer: Fix import EDL out of range. #jira UE-57665 Change 4001856 by Matt.Hoffman Selecting keys and sections at the same time now also works with animation and audio sections. #jira UE-57716 Change 4002021 by Max.Chen Sequence Recorder: Fix sequence name incrementing. If external recording sets the sequence name, use it. Otherwise, use the recording name from the recording group or the recording settings. #jira UE-57712 Change 4002618 by Max.Chen Viewport: Update the look at location when updating to a locked actor. This fixes an issue so that popping the view out of a locked actor and manipulating the view will not jump to the previous look at location. #jira UE-57725 Change 4002979 by Matt.Hoffman Fixes several edge cases with the end time range that was causing confusion about what the last frame of the sequence was. Dragging the End Frame slider will no longer be off by one tick and jumping to the end via the UI controls now properly respects snapping and stays inside the play range instead of falling outside of it. Overall behavior does not change though and End Frame should be considered an exclusive frame so that frames 0-150 results in a 150 frame long animation (which is frames 0-149). #jira UE-56367 Change 4003185 by Matt.Hoffman Fixed a regression that prevented a section from being dragged upwards past row 0 which normally resulted in all other rows moving down. #jira UE-57717 Change 4003193 by JohnHenry.Carawon QAGame: Updates to test content - Shortened frames between the examples from 95 to 30 - Separated camera setting tracks - Lighting example now switches directly from constant red - green - blue Change 4003369 by Max.Chen Sequence Recorder: Refresh next sequence regardless of internally stored sequence name. #jira UE-55757 Change 4003586 by JohnHenry.Carawon QAGame: Test Content Updates - Level Visibility track now ends to that the levels are not visible when we move to the next example - Shortened camera section, removed Z tranform so that we just move left to right and shortened the overall length Change 4004414 by Max.Chen Movie Scene Capture: Fix regression where rendering with shot handles would only render the first shot. 3972166 addressed an issue where an extra frame would be rendered by finalizing right when the end frame was reached. This was hit on the first shot end frame, so instead, do this only for when the last shot is being rendered. #jira UE-57314 Change 4004765 by Christina.TempelaarL Sequencer: Fixed bugs in FCP XML import/export. - Export: fixed sequence default resolution. - Export: fixed XML files with no shots. - Export: all sections clipped to playback range. - Export: fixed incorrect section start/end times due to precision issues. - Import: fixed incorrectly adding cinematic tracks. - Import: fixed bugs creating new sections. #jira UE-57660 #jira UE-57662 #jira UE-57655 #jira UE-57761 Change 4005119 by Max.Chen Sequencer: Export/import at play rate Change 4005195 by Max.Chen UMG: Finish UMG evaluation on stop. Added object version so that existing UMG assets do not change. #tests - Newly created UMG animation with sections set to restore state now return to their original state. Existing UMG animations with sections set to restore state do not return to their original state. #jira UE-52285 Change 4005377 by Michael.Karambelas QAGame: Moving TM-SequenceRecorder and related content out of my developer folder and into /Content/Sequencer/SequencerRecorder/* Change 4005417 by Michael.Karambelas QAGame: Fixed a BP compiler in the Level Blueprint of TM-SequencerRecorder. Change 4005634 by Michael.Karambelas QAGame: Fix up missing content and broken level sequence in TM-SequenceRecorder after move Change 4006324 by Max.Chen Sequencer: Reset if the focused movie scene is null. This fixes a crash if the user is focused in on a shot and undo takes the user past the point of where the shot was created. #jira UE-57752 #jira UE-47661 Change 4007006 by Max.Chen Sequencer: Fix FindAvailableRowIndex so that it returns the max row index (and not +1) since it doesn't find any conflicting rows. #jira UE-57717 Change 4007907 by Max.Chen Sequencer: Fix crash if there's no animation Change 4007948 by andrew.porter QAGame: added test content to dev folder for Record World Space Change 4008636 by Max.Chen Sequencer: Fix import fbx not setting values properly and creating additional cameras unncessarily. #jira UE-57864 Change 4008759 by Max.Chen Sequencer: Follow up fix for import cameras #jira UE-57864 Change 4009994 by Matt.Hoffman Dragging the left or right handles of the Time Range slider in Sequencer will now zoom your view in on the current center of the screen. This prevents the view from being translating as you tried to zoom in which caused issues at high zoom levels. #jira UESEQ-407 Change 4010169 by Christina.TempelaarL Sequencer: FCP XML fixes. - FCP XML export - no longer clips to playback range - FCP XML and EDL export - fixed missing last frame of some sections after exporting to Premiere. - Automated level capture, EDL export - use RoundToFrame instead of FloorToFrame for computing section start/end frames after frame rate conversion. #jira UE-57802 - partial fix, movie scene capture still needs to render full section rather than clip against playback. Change 4010287 by Mike.Zyracki Add quaternion interpolation option to UMovieScene3DTransformSection. This mimics how Matinee used to work by bascially finding the keys between a time and interpolating the angles as quat's between them. As noted in the code the algorithm needs to handle the case when the x,y,z Rotation keys all aren't at the same time which was not handled by Matinee. Also like Matinee, when in quaternion interoplation mode, we need to not display the function cuves since the interpolated and key values are now all different. (Would like to show them but that's a bigger refactor for perhaps just a one off needed by quaternions). I added a virtual function UMovieSceneSection::ShowCurveForChannel for this since it needs to be dynamic, not on construction of IKeyArea's, and could be useful for other sections. I could though move the method to just UMovieScene3DTransformSection and do a cast instead. Looked into doing a unit test for this but after talking with Andrew P we will work on doign an automated test in EngineQA since that will provide more coverage. Will also add a video the jira. #jira UESEQ-403 Change 4010713 by Mike.Zyracki Added option to key a group of transform channels instead of just the changed channel, or all of them. This is useful for quaternion interpolations where you want rotation keys to be aligned but also useful for other workflows like animating FK Pose to Pose. Change 4010715 by Andrew.Porter MediaFrameworkTest: Setting LogMediaUtils logging from VeryVerbose to Verbose to cut back on the spam Change 4013048 by Max.Chen Sequencer: Fix play/jump status. Update the player status for all position methods (Scrub, Jump, Play). Jump means Stopped. Correctly use PlayTo or JumpTo based on position method. In PlayInternal, JumpTo with the Stopped state (rather than playing state). #jira UE-57844 Change 4013479 by andrew.porter QAGame: Added content in TM-SequenceRecorder to test recording a property on a Cine Camera Component; Press 3 to trigger manual focus distance to increment on a timer Change 4014323 by Max.Chen Sequencer: Fix SetPlaybackPosition so that it jumps or plays based on playback status. #jira UE-57844 Change 4015888 by Max.Chen Sequencer: Fix crash on paste. UMovieSceneSections were gathered from the track node's track. For sub track mode, we want to gather only those sections on that track node row. #jira UE-57951 Change 4015943 by Max.Chen Sequencer: Fix moving shots up when the mouse pos goes outside of the virtual track area. #jira UE-57717 Change 4016293 by Max.Chen Sequencer: Fix relative frame playback end frame calculation so that custom start/end frames remain in the space of the sequence and are not relative. #jira UE-57308 Change 4017075 by Andrew.Rodham Sequencer: Corrected initial evaluation range used when calling UMovieSceneSequencPlayer::Play() Change 4017270 by Christina.TempelaarL Sequencer: FCPXML importer and movie scene capture - Use CeilToFrame when converting section start/end frame times to frame numbers in FCPXML and movie scene capture. - Added support for clip metadata in FCPXML. - Got rid of redundant TokenizedError message class, no longer needed now that FCPXML is in editor directory. - Added log messages currently commented out due to exception, still testing. #UESEQ-358 Change 4018370 by Christina.TempelaarL Sequencer: fixed FCPXML log messages regarding sections with start/end not divisible by display rate. #UESEQ-358 Change 4018378 by Christina.TempelaarL Sequencer: fixed error in previous changelist. #UESEQ-358 Change 4019457 by Max.Chen Sequencer: Show event names only when the event track is selected #jira UE-57897 Change 4022806 by Max.Chen Sequencer: Fix crash on movie scene capture dialog shutdown if movie capture wasn't even started. #jira UE-58106 Change 4022894 by Max.Chen Sequence Recorder: Wrap OpenEditorForAssets after sequence recording within GIsEditor #jira UE-58084 Change 4024487 by Max.Chen Sequencer: Add tooltip for quat interpolation #jira UE-58113 Change 4024562 by Max.Chen Sequencer: Change path/attach track sequence binding id to currently focused sequence id so that bindings can be created in subsequences Change 4027414 by JohnHenry.Carawon QAGame: Checking in content that shows a bug with using particles systems and Delay Before Shot Warm Up. Change 4028990 by Max.Chen Sequencer: Fix evaluate sub sequences in isolation. This check was added with the compile on the fly logic. Not sure why it was necessary but it seems like the sub sequence data needs to be updated in order to evaluate sub sequences in isolation. #jira UE-58184 Change 4029004 by Max.Chen Sequencer: Ensure that old binding references are removed when re-assigning actors in sequencer #jira UE-57898 Change 4030997 by JohnHenry.Carawon QAGame: Fixing name of the master sequence Change 4031785 by Michael.Karambelas QAGame: Added an instance of ThirdPerson Run to TM-SequenceRecorder for Record to Possessable test. Change 4035548 by Andrew.Rodham Sequencer: Changed FMovieSceneEvaluationTemplate::TemplateSignature to be a serial number to address non-deterministic cooking issues - This commit is related to the repro steps found in 3914599 and 3934307, both of which have been verified with this new change. - Copy of 4031684 from //Fortnite/Main/... #jira FORT-84852 Change 4036312 by Max.Chen Sequencer: Fix zoom view range so that it uses the passed in InZoomDelta Change 4036318 by Max.Chen Sequencer: Auto size now returns a range and defaults to the channel proxy range so that keyed regions can also be autosized. Change 4036322 by Max.Chen Forgot missing change Change 4036360 by Max.Chen Sequencer: Fix play rate calculation when skeletal animation section play rate changes. Change 4037163 by Mike.Zyracki Weighted Tangent Implementation Tricky thing is that you need to solve a cubic in order to get the bezier weights for the time part of the curve. See https://www.gamedev.net/forums/topic/474094-help-function-curves-for-animation-interpolation/ Maya provides an implementation in it's dev kit but I didn't use it since it was horribly slow and uses an iterative solution to solve the cubic needed. Instead I use an old algorithm (Cardano's method), to solve the cubic which should be much faster. Though relative simple to code from principles I just went ahead and used a version from Graphics Gems 1. I put this cubic solver directly in MovieSceneFloatChannel.cpp, but will need to move it when we support Rich Curve, maybe to FMath:: (which would probalby require some other functions for solving quartics, etc.. for completeness.). Also note we resolve this on every evaluation but dont' need to if the interval the time is evaluating hasn't had any change in values or tangents. So again when we support FRichCurve we can create a Weighted Evaluating class that can hold the cache. Also with the tangent drags I got rid of the Cardinal position that was used to calculate non-weight tangents from the key point and just quickly getting a direction. With weighted tangents we need to use the delta instead (otherwise when moving multiple they would all get the same weight based upon distance to the cardinal point. ) For mixed tangents types what I'm defaulting to non weighted if the interval doesn't match. May need to do weighted instead, not sure. What's left is just FBX import, for tomorrow. #jira UESEQ-76 Change 4037435 by Mike.Zyracki Fix fo build warnings from weighted tangent submission. #trivial Change 4038091 by Michael.Karambelas QAGame: Updated a Sequence Recorder group in TM-SequenceRecorder that had an actor missing the animation. Change 4038374 by Andrew.Rodham Sequencer: Refined scrubber styling for level sequences and actor sequences - Scrubber now shows a block the width of a dsplay rate frame, plus a line for the actual evaluated time. UMG reverts back to the previous styling (no block) - Keys that are outside of the playback range are now drawn with a subdued effect - Tick labels are no longer drawn when directly underneath the scrubber Change 4038490 by Max.Chen Sequencer: Expose tangent weight values in details panel. Change 4038620 by Andrew.Rodham Sequencer: Advanced time panel polish #jira UESEQ-426 Change 4038677 by Max.Chen Movie Scene Capture: Redirector for MovieSceneTools.AutomatedLevelSequenceCapture #jira UE-58248 Change 4039739 by Max.Chen Sequencer: Media track should only be supported by Level Sequence Change 4040024 by JohnHenry.Carawon QAGame: Fix EventReciever and OverrideBinding example The level sequence was set to none so the fix was to set it back to TrackEvaluation_Master. Change 4040610 by Andrew.Rodham Curve Editor: Moved weighted tangent switchers to a single toggle command (CTRL+W) and added an icon #jira 58383 Change 4040882 by Mike.Zyracki Keep broken when turning on weighted #jira UE-58435 Change 4041089 by andrew.porter QAGame: Sequence for Long Tangents bug Change 4041498 by Mike.Zyracki Turn off weighted when going auto to prevent large tangents. Do it both in UI and when doing AutoSetTangents() to really make sure it doesn't happen. #jira UE-58452 Change 4041752 by andrew.porter MediaFrameworkTest: Adding some better logging for setting rates when not supported. Also ignoring commiting URL when there is no text Change 4041896 by Matt.Hoffman The transform dialog box now transforms selected keys and sections, instead of just keys. #jira UE-58265 [CL 4044405 by Max Chen in Main branch]
2018-05-02 10:10:00 -04:00
const FTimespan Timecode = FTimespan::FromSeconds(CurrentTime);
UE_LOG(LogMediaTimeSource, VeryVerbose, TEXT("AppMediaTimeSource: Time %.10f, Delta %.10f, Timecode %s"), CurrentTime, FApp::GetDeltaTime(), *Timecode.ToString(TEXT("%h:%m:%s.%t")));
Copying //UE4/Dev-Sequencer to //UE4/Dev-Main (Source: //UE4/Dev-Sequencer @ 4044339) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3947021 by Max.Chen Sequencer: Don't preserve root component when copying object properties. A spawnable empty actor, has a root component that is generated by the empty actor factory. If the object template's root component is preserved when copying from the spawnable empty actor, the root component will not be copied over. Therefore, we need to NOT preserve the root component when copying object properties. #jira UE-55825 Change 3947366 by Max.Preussner WmfMedia: Better log output Change 3947367 by Max.Preussner MfMedia: Better detection of compressed format properties on Windows Change 3949102 by Max.Chen Sequencer: Remove SequenceActorTag when converting to possessable. #jira UE-56206 Change 3949207 by andrew.porter EngineTest: Set the screenshot nodes resolution to 1280x720 Change 3949404 by Max.Chen Sequencer: More informative tooltip for "Rerun Construction Scripts" option. It now says "Rerun construction scripts every frame on actors that have 'Rerun Construction Script in Sequencer' enabled in their class settings". Change 3950067 by Matt.Hoffman Renamed UAutomatedLevelSequenceCapture's StartFrame and EndFrame to CustomStartFrame/CustomEndFrame to reflect that it is user-overriden. This will also resolve upgrade issues due to the variable datatype changing. #jira UE-56189 Change 3950193 by JohnHenry.Carawon Updating my latest MovieRendering test content. Change 3950757 by JohnHenry.Carawon More updates to MovieRendering test content Change 3952059 by Max.Chen Resave LevelVisibility_SubLevels to fix data loss conversion warning of OpacityMaskConstant #jira UE-56086 Change 3952283 by Max.Chen Sequencer: Disable dropping level sequence assets as spawnables. #jira UE-56120 Change 3952422 by Max.Chen Sequence Recorder: Add button to record from the current player. #jira UE-55942 Change 3952987 by JohnHenry.Carawon MovieRendering Test Content - Fixing camera bindings and changing the override binding actor Change 3953823 by Mike.Zyracki Fix for Bad FBX Import Tangents not scaled by frame rate. After looking at this again it seems that a set of MovieScene:: overiddes for the channel traits wasn't set correctly, so use the ADL idiom to use MovieScene, which can then call Optimize in the correct namespace. With this we can now correctly use the passed in tolerance. There was also a redundant set of Optimize calls so that it could happen twice so removed them, and needed an extra check in the float channel Optimize. Also since we need to set auto tangents no matter if we optimize we don't set that parameter(though leave it since it's used by context menu key reduction). Finally fixed speed issue with trajectories caused by calculating way too many substeps. Reverted back to a time based step size for consistency. #jira UE-56193 Change 3954317 by Matt.Hoffman Adding a key to the last frame of a section no longer causes a crash. Keys can already be moved to be on the last frame of a section so now you can just add a key there directly. #jira UE-56255 Change 3954326 by Matt.Hoffman Dilating a section that is only infinite on one side no longer causes a crash. #jira UE-56260 Change 3954486 by Max.Chen PR #4580: Exposes IsReversed() from UMovieSceneSequencePlayer (Contributed by alanedwardes) Change 3955238 by Max.Preussner Messaging: Enabled delayed message routing https://github.com/EpicGames/UnrealEngine/pull/4574 #jira UE-56247 Change 3955901 by Max.Preussner MediaFrameworkTest: Added developer test for overriding desired media player plug-in at runtime. Change 3955922 by Andrew.Porter QAGame: Updating movie rendering content in dev folder Change 3956004 by andrew.porter QAGame: Adding MPC track to movie rendering test content Change 3956510 by Max.Chen Sequencer: Fix fbx camera import of static properties so that they are imported before default tracks are created. Otherwise, the default tracks inherit the default properties of the camera, rather than the values from the fbx. #jira UE-56311 Change 3957613 by Max.Preussner MediaUtils: Added code documentation to media player facade Change 3958005 by Max.Preussner MediaUtils: Added method to get number of sinks Change 3958934 by Max.Chen Sequencer: Fix keys getting added and sequence getting erroneously re-evaluated when auto key is off. Only apply defaults if there are no keys. Only modify the movie scene section before creating keys or setting defaults. #jira UE-55903 Change 3959687 by Andrew.Rodham Sequencer: Fixed visibility track external values being inverted #jira UE-56324 Change 3960507 by Max.Preussner Core: Fixed incorrect rounding in FMath::DivideAndRoundNearest Change 3962047 by JohnHenry.Carawon MovieRendering Test Content Changes: - Add Lightmass Importance Volumes to sublevel to fix warnings - Rebuilt Lighting - Add a third sequence for Gamut testing - Resaved the sound master.uasset to fix warning Change 3962211 by Mike.Zyracki Add Frame Numbers to selected animation sections. Added MapTimeToAnimation to MovieSceneSkeletalAnimation so that we could get it from the Skeleton Animation track Editor. Since the thickness of the frame line can change based upon frame rate and zoom we need to calculate it similarly to how the time slider controller does it. Those calculations were private so we had to expose FScrubRangeToScreen and GetScubberPixelRange from the TimeSliderController. Also needed to know if the section itself was selected so added a bIsSelected flag to the section Painter. Also fixed a bug where you couldn't add a section if other sections existed at different times in MovieScenePropertyTrack and could crash due to the check(). #jira UESEQ-395 Change 3962497 by Max.Preussner Core: Added new string formatting argument to FTimespan Change 3963662 by Max.Chen CineCamera: Flip VistaVision width and height. Change 3963731 by Max.Preussner MediaCompositing: Implemented sequence recording support for media track Change 3964195 by Andrew.Rodham Sequencer: Set inverted property correctly for newly created visibility track sections - Also clamp evaluation for key editors to the bounds of the section so we're not displaying values outside of the section bounds when the cursor is not on the bounds #jira UE-56324 #coderevew Max.Chen Change 3964196 by Andrew.Rodham Sequencer: Fixed crash when attempting to render sections that resulted in a negative intersection with the view range Change 3964275 by Andrew.Rodham Sequencer: Fixed MovieScene::ClampToDiscreteRange for infinite range bounds Change 3964364 by Andrew.Rodham Curve Editor: Reduce minimum vertical view range when zooming to fit Change 3965091 by Max.Chen Sequencer Recorder: Refresh next sequence if empty when starting a recording, otherwise, use existing name. #jira UE-56469 Change 3965148 by Max.Chen Sequence Recorder: Move Record to Possessable to "Actor Recording" group Change 3965162 by Max.Chen Sequence Recorder: Always break out of immersive mode when done recording, even when stopping recording during countdown. #jira UE-56407 Change 3965214 by Max.Preussner QAGame: Enabled ImagePlate plug-in Change 3965574 by Max.Preussner SimpleComposure: Reorganized & upgraded content to work with new Media Track #jira UE-56488 Change 3965651 by Max.Preussner MediaCompositing: Ignoring seek-on-open if media not seekable Change 3966075 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Export functionality #jira UESEQ-358 Change 3966087 by Matt.Hoffman Adding a single key to the Particle Toggle track now makes an infinite range section that is displayed in the UI. #jira UE-56295 Change 3966547 by Andrew.Rodham Sequencer: Fixed rounding errors when drawing the section background on boolean sections - Logic was using time in sectonds which caused rounding errors on evaluation and flickering red/green stripes when dragging keys around #jira UE-56324 Change 3966563 by Andrew.Rodham Curve Editor: Key editor interface improvements - SKeyEditInterface has a few problems - it does not update in real time when editing properties, and does not support multi-edit which makes it unsuitable for use with the curve editor - We now take a different approach for editing keys by gathering a set of proxy UObjects for each key that is currently selected. These objects are added as top level objects to the details panel which means they support multi edit as you'd expect from any other details panel in the editor. - Proxy objects are updated every tick for the curve editor if they implement the ICurveEditorKeyProxy interface, which allows them to refresh their current value. - Ideally, the same mechanisms would be used in the main sequence interface, and we would be generating the proxy classes at runtime based on the key value type, but that work remains a separate task from this initial offering. #jira UE-56165 Change 3966564 by Andrew.Rodham Curve Editor: Expand to frame when adding or moving keys in the curve editor Change 3967051 by andrew.porter MediaFrameworkTest: Set the CameraPlayer_Video texture to auto clear Change 3967141 by Andrew.Rodham Sequencer: Keep track of spawned objects that have been modified and only re-save such object's default spawnable state on destruction - Now that we're taking this approach, I've remove serveral redundant bits of functionality in the spawn register such as making some spawnables read-only, and the PreSave binding for Sequencer. - We now hook into all object pre-saves to make sure we handle the case where the sequences are saved through the content browser or elsewhere. #jira UE-47686 Change 3967170 by Andrew.Rodham Sequencer: Added the ability to possess anim instances as object bindings - This allows full and direct animation of properties on UAnimInstance, and animation blueprints - Object Bindings are made by first possessing a skeletal mesh component, then choosing the + Add button where its anim instance will be listed - Added a new function to UMovieSceneSequence to gather previously cached objects that should now be invalidated. Anim instances will be re-resolved if a new UAnimInstance is assigned to USkeletalMeshComponent::GetAnimInstance. - ObjectBindingIDs for anim instances are just represented by an entry in a set of GUIDs. We only ever resolve such bindings through USkeletalMeshComponent::GetAnimInstance. - Only currently supported on LevelSequences #jira UE-56132 Change 3967195 by Max.Preussner Core: Updated TRangeSet to use TCallTraits Change 3967345 by JohnHenry.Carawon Test Content Changes - first iteration of spacing out the examples in the shots. Change 3967572 by Max.Chen Sequencer: Fix setting PreviousPlayEvalPosition until after we've tested whether it's set. #jira UE-56518 Change 3967750 by Max.Chen Audio: Set duration based on number of input channels, rather than number of channels to serialize. This fixes an issue where audio split into 2 channels is set to a duration that's twice as long. #jira UE-56430 Change 3967836 by Max.Chen Sequencer: Allow for animating array elements within ustruct properties #jira UE-55887 Change 3968506 by Matt.Hoffman Fixed ambiguous conversions for seconds and frames being overriden by ambiguous conversion to Timecode (in frames). Change 3968748 by Max.Chen Sequencer: Make the event properties submenu widget larger. #jira UE-55557 Change 3968862 by Max.Chen Sequencer: Recursive expansion when shift is down #jira UE-52139 #pr 4194 Change 3968863 by Max.Chen Sequencer: Bind rename command to selected track so that F2 shortcut start renaming #jira UE-52139 #pr 4194 Change 3968872 by Max.Chen Sequencer: Rekey the selected key at the current time. #jira UESEQ-396 Change 3968938 by Max.Chen Cine Camera: Add option to toggle the behavior of locking the rail mount to the orientation of the spline. By default, the option is off, no change in behavior. #jira UE-55815 Change 3968958 by Andrew.Rodham Sequencer: Consider vertical position when hittesting keys #jira UE-56256 Change 3969643 by Max.Preussner Core: Rounding timespans created from double values towards nearest ticks Change 3969646 by Max.Preussner MediaUtils: Implemented timeout mechanism for block-on-fetch feature Change 3969776 by Mike.Zyracki Added Skip Anim Notifiers Toggle per what was in Matinee. Investigated the Enable Root Motion toggle as also discussed but it's implementation is directly contained by the animation asset and unlike animation notifies there seems to be no exposure to interactively disable it during a playback tick. Note if we are generating thumbnails we still automtically disable notifies in the editor to avoid annoying noise playback. Note that if Enable Root Motion/Root locked is specified in the animation asset it does correctly effect the Sequencer. #jira UESEQ-399 Change 3969835 by Matt.Hoffman Playback Range and Selection Range use unified logic for adding themselves as potential snap locations which properly handles inclusive/exclusive bounds. This resolves an issue where having an unset selection range caused a potential snap location to be added on frame 0 and 1 (internal resolution) which caused a misalignment when placing objects near frame 0. This also removes the one frame offset on setting Selection Range to bring behavior inline with other ranges. #jira UE-55420 Change 3969885 by Max.Preussner MediaAssets: Don't register media player CDO with media ticker Change 3971129 by Andrew.Rodham Sequencer: Fixed UMovieSceneSequencePlayer::GotToEndAndStop() not taking into account for start time This is a remnant from when the times were always specified in 0-duration space, rather than actual sequence times. Change 3972056 by JohnHenry.Carawon More updates to Test Content. I continued spacing out the examples in the sequence so that they have a consistent number of frames between each example and during the start/end of the example. Also removed the Marcie sublevel. Change 3972066 by Andrew.Porter MediaFrameworkTest: Setting Marcie folder to be never cooked in package settings Change 3972675 by Matt.Hoffman Splitting Subsequence Sections no longer sets an incorrect playback range on the subsequence when the subsequence has a different internal resolution than the owning sequence. #jira UE-55453 Change 3973376 by Max.Preussner ImgMedia: Zero is the only valid video track for image sequences Change 3973489 by Max.Preussner Launch: Build rules cleanup pass - don't use Media, MediaUtils on server apps - don't link against Media (include-only dependency) - don't include from MediaAssets (dynamic load only) Change 3973760 by Max.Preussner MediaUtils: Moved AppMediaTimeSource implementation into its own file; added logging Change 3973765 by Max.Preussner ImgMedia: Disallowing seek beyond media length Change 3973855 by Max.Preussner MediaFrameworkTest: Updated developer test content Change 3973858 by Max.Preussner MediaCompositing: Blocking on media player time instead of media sample time (the former may not be hit in the current frame) Change 3974988 by Max.Chen Sequencer: Fix trim left so that it also sets the start offset for audio and skeletal animation sections. #jira UE-57015 Change 3976101 by Matt.Hoffman Sequencer will now focus the scroll view on newly created items. #jira UE-56492 Change 3976203 by Max.Chen Property Editor: Add DetailsViewArgs for ColumnWidth. Defaults to 0.65f, no change in existing behavior. Change 3976205 by Max.Chen Sequencer: Set better column widths for sequencer. #jira UE-55557 Change 3976206 by Max.Chen Sequencer: Added menu category for import/export Change 3976265 by Matt.Hoffman Tracks within Object Binding Nodes will now sort using the old behavior so that components are added above other track types. #jira UE-56473 Change 3976901 by Max.Chen Sequencer: Add event names to event track section #jira UESEQ-353 Change 3977878 by Max.Preussner Media: Moved media framework ticking stats into Media module Change 3977982 by Max.Chen Sequencer: Add Edit->Reset section length to duration of source (ie. audio, skeletal animation, shot length) Added MovieSceneSection::GetDefaultDuration and MovieScene::HasDefaultDuration #jira UESEQ-392 Change 3977994 by Max.Preussner Media: Fetching and rendering media samples before viewports are rendered (to ensure frame sync for in-level media playback) #jira UE-53975 Change 3978188 by Matt.Hoffman Easing Curves are now clipped by the sequence's PlayRange when testing against an infinite section. This causes blended sequences to finish their blend when the section starts/ends instead of always using 25% of the total section length to determine default blend range. #jira UE-56362 Change 3978676 by Max.Preussner MediaCompositing: Fixed first frame of rendered out media track missing #jira UE-53975 Change 3978684 by Max.Preussner MediaCompositing: Enabled media track frame sync feature #jira UE-53975 Change 3980026 by Matt.Hoffman Keys can be selected on folded out sections (such as an audio track expanded to show volume and pitch) again. #jira UE-57169 Change 3981614 by Max.Preussner MediaUtils: Added missing subtitle sample queue flush Change 3982311 by Max.Preussner MediaCompositing: Added safeguard for zero length media sources Change 3982389 by andrew.porter QAGame: Adding media track test content into FrameAccuracySubscene Change 3983661 by Max.Chen Sequencer: Add level name to spawn a spawnable into. Add sublevel menu option to set the level #jira UESEQ-390 Change 3983712 by Andrew.Rodham Sequencer: Purge legacy blueprint spawnables from LevelSequence packages #tests Ran a preflight for cooking fortnite, ocean and Orion. Only orion shows up this edge case, and will require a re-save of the EndCines level #jira UE-39173 Change 3983787 by Max.Preussner MediaCompositing: Moved compile time switch for block-on-fetch into media player facade Change 3983812 by Andrew.Rodham Sequencer: Exposed default level sequence instance data to blueprints Change 3984373 by Max.Preussner Media: Added API for quering whether player plug-in supports block on fetch Block on fetch allows Sequencer and other systems to block the game thread until a desired video frame has been decoded. Change 3984670 by JohnHenry.Carawon Movie Rendering Test Content progress. Saving the state of the content. There is a bug where things got replaced with particle emitters and I think it was because I tried to copy paste an animation track into a separate skeletal mesh track. Change 3985097 by Max.Chen Sequencer: Rename Reset to AutoSize Change GetAutoSizeDuration to return TOptional<FFrameTime> #jira UESEQ-392 Change 3986043 by Max.Chen Sequencer: Fix crash when attach/path duration is less than 0. #jira UE-57310 Change 3986373 by Max.Chen Sequencer: Add support for deleting tracks and channels which equates to setting the channel mask. #jira UE-52951 Change 3986375 by Max.Chen Sequencer: Add Create Pose Asset to skeletal animation section. This allows animators to blend animations in sequencer and create new pose assets from them. #jira UESEQ-408 Change 3986796 by Andrew.Rodham Sequencer: Fixed stale object references remaining in ULevelSequence::BindingReferences when using convert to spawnable/possessable - We used to convert objects by creating a new binding, then re-assigning its GUID, which meant we didn't have to do any further object fixup, but the code to achieve this was confusing and led to a vulnerability where object references would not be cleaned up correctly due to the newly created possessable essentially being a temporary object that's immediately thrown away. - To address this, there is now a function for porting all the contents of one object binding to another, and handles the correct fixup required for parent/child object bindings for both spawnables and possessables. - Also added codepath to remove any stale object references from the level sequence reference map on PostLoad (this piggy-backs off the PurgeLegacyBlueprints object version which is close close enough to this change to be identical) #tests Verified that existing sequences with stale references get cleaned up on load. Verified that repreatedly converting from spawnable<->possessable cleans up references correctly. Change 3987807 by JohnHenry.Carawon Updates to the MovieRendering Test Content. - Fixed the spawnable actors that were overwritten - Shortend the Lighting example and combined the Intensity and Color tracks - Organized the Sequence and WorldOutliner to group the examples. Change 3988151 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. Change 3988880 by Max.Chen Sequencer: Support enter to add asset for all sequencer track editors that have asset pickers. #jira UE-57367 Change 3988953 by Max.Chen Sequencer: Make the track color picker focusable so that it will close when you click away or lose focus. #jira UE-57210 Change 3988962 by Max.Chen MovieSceneCapture: Fix EDL export so that it takes into account movie scene frame resolution and desired frame rate. #jira UE-57365 Change 3988964 by Max.Chen Movie Scene Capture: Clarified tooltip for bRelativeFrameNumbers. If you specify custom start/end frames for the recording, they will be relative to the playback range. #jira UE-57308 Change 3989442 by Max.Chen Fix CIS Change 3991548 by Matt.Hoffman Dragging the time slider no longer causes the time slider to ignore snap-to-interval with "Snap to Keys While Scrubbing" when no keys are in range. #jira UE-57417 Change 3991598 by Matt.Hoffman Snap to Key while scrubbing now mirrors the behavior of "jump to next key". When there are no tracks selected it snaps to all keys and when there are tracks selected it snaps to only keys from that track. This also resolves an issue where deleting an object did not remove it from the Sequencer's selection. Undoing a delete already doesn't seem to restore your selection, so removing it from your selection shouldn't change that behavior. #jira UE-57417 Change 3991603 by Max.Chen Sequencer: Disable EditAnywhere for some section properties #jira UE-53530 Change 3992240 by Max.Preussner MediaAssets: Implemented dynamic audio sample rate adjustment based on audio/media clock drift #jira FORT-70638 Change 3992911 by Andrew.Rodham Sequencer: Fixed saving spawnable state using the wrong spawned object - We now track the object binding ID so that we can apply the spawned object to the correct spawnable when the asset is saved #jira UE-57353 Change 3992914 by Max.Chen Movie Scene Capture: Fix compression quality not being set. The compression interface wasn't being found through query interface, so no compression was being set. Reworked finding it through the output pins. Tested running various compression values. #jira-UE-55488 Change 3992919 by Max.Chen Sequencer: Convert to possessable now uses object template instead of copying properties (ie. see LevelSequenceActorSpawner). This fixes MIDs getting lost when converting to spawnable and back to possessable. #jira UE-52400 Change 3993184 by Max.Chen Sequencer: Don't show +Transform/+Path/+Attach track if the actor has the "Mobility" property hidden. Set the Landscape, LandscapeProxy and InstancedFoliage "Mobility" property to be hidden since it is static is not supposed to be dynamically movable. #jira UE-56347 Change 3993238 by Max.Chen Sequencer: Test for hidden mobility in creating keys as well. Refactored to HasHiddenMobility() #jira UE-56347 Change 3993978 by Max.Chen Cine Camera: Enable keying the "Enable Look at Tracking" toggle. #jira UE-57489 Change 3994039 by Max.Chen Landscape: Add Mobility to hidecategories on landscape component #jira UE-56347 Change 3994626 by JohnHenry.Carawon Updated Movie Rendering Test Content. - Fixed the overridden spawnables to their proper object types. Change 3994653 by Christina.TempelaarL Sequencer: Added Final Cut Pro 7 XML Import functionality, improved Export functionality #jira UESEQ-358 Change 3995609 by Max.Chen UMG: Add support for 2d transform mask (translation, rotation, scale, shear) #jira UE-52951 Change 3995778 by JohnHenry.Carawon Movie Rendering Test Content Updates - Adjusted Lights example - Adjusted Camera example - Added Marcie sublevel back in Change 3995942 by JohnHenry.Carawon QAGame: Moving Movie Rendering test content from Developer folder to Sequencer folder Also adjusted level visibility, lights and camera example. Change 3995993 by Christina.TempelaarL Sequencer: FCPXML Export updates - only export sections if in playback range and media exists, warn if media does not exist. Other updates - removed unused methods and variables, fixed message context naming to be more accurate #jira UESEQ-358 Change 3996595 by andrew.porter QAGame: Updating Marcie content in TrackEvaluation level to use Image Plate Change 3996614 by andrew.porter QAGame: Adding color test sequence to the sublevel Change 3996643 by Max.Chen Sequencer: Fix fbx animation export - rotation and scale channels were flipped. #jira UE-57509 #jira UE-57512 #jira UE-57514 Change 3996652 by Max.Preussner Messaging: Fixed delayed messaging using incorrect current time after message router sleep Based on https://github.com/EpicGames/UnrealEngine/pull/4601 Change 3996801 by Max.Chen Sequencer: Fix folder active state for non key area sections. Look at track node sections as well as key areas. #jira UE-57550 Change 3997098 by Matt.Hoffman Cleaned up some remaining ToDo's in STimeRange. Change 3998339 by Max.Preussner Sockets: Added documentation for socket receive functions Change 3998359 by Max.Preussner MediaUtils: Started to implement media recorder helper class Currently only supports BGRA frames in CPU memory. Supporting other formats and buffer types will require conversions on render-thread. I recommend refactoring out the existing conversion code in FMediaTextureResource into a reusable helper class in the MediaUtils module. This should be a good starting point though. Change 3998417 by Matt.Hoffman Keys and Sections can now be moved at the same time inside of Sequencer. Keys can now snap to Sections (and vice versa) instead of just to other Keys. Sections can now be duplicated like keys can. #jira UE-56995 Change 3998427 by JohnHenry.Carawon QAGame: Updating test content for the Movie Rendering feature. - Added an auto activate particle to the beginning of the sequence (it's not part of the sequence at all) - Added an event receiver blueprint to the Events example - Added a particle emitter to both sublevels - Added a camera cut to the end that switches to a separate camera - The camera zoom in, focus and Look At sections are all separate (not overlapping in the sequence) - Added a second actor for the camera Look At - Added a Visibility section for the Actor Hidden In Game track that has possessable and spawnable cube and light Change 3998537 by Max.Chen Sequence Recorder: Restore immersive mode when stopping the sequence even if not in PIE. #jira UE-56407 Change 3999809 by Matt.Hoffman Removed the "Go To" box from Sequencer and instead placed the current time as an always visible control. The previous shortcut (Ctrl + G) now focuses the new widget directly. #jira UESEQ-376 Change 4000543 by Christina.TempelaarL Sequencer: Moving editor-only code from runtime module MovieSceneCapture to editor module MovieSceneTools. Moved EDL and FCP XML exporters as well as Automated Level Scene Capture. #jira UESEQ-358 Change 4000706 by Matt.Hoffman Entering multiple time strings without a number no longer crashes Sequencer. #jira UE-57672 Change 4001051 by andrew.porter MediaFrameworkTest: Fixing up some image sources pointing to the wrong location Change 4001191 by andrew.porter QAGame: Adding some quick EDL/XML test content to dev folder Change 4001243 by Max.Chen Sequencer: Fix import EDL out of range. #jira UE-57665 Change 4001856 by Matt.Hoffman Selecting keys and sections at the same time now also works with animation and audio sections. #jira UE-57716 Change 4002021 by Max.Chen Sequence Recorder: Fix sequence name incrementing. If external recording sets the sequence name, use it. Otherwise, use the recording name from the recording group or the recording settings. #jira UE-57712 Change 4002618 by Max.Chen Viewport: Update the look at location when updating to a locked actor. This fixes an issue so that popping the view out of a locked actor and manipulating the view will not jump to the previous look at location. #jira UE-57725 Change 4002979 by Matt.Hoffman Fixes several edge cases with the end time range that was causing confusion about what the last frame of the sequence was. Dragging the End Frame slider will no longer be off by one tick and jumping to the end via the UI controls now properly respects snapping and stays inside the play range instead of falling outside of it. Overall behavior does not change though and End Frame should be considered an exclusive frame so that frames 0-150 results in a 150 frame long animation (which is frames 0-149). #jira UE-56367 Change 4003185 by Matt.Hoffman Fixed a regression that prevented a section from being dragged upwards past row 0 which normally resulted in all other rows moving down. #jira UE-57717 Change 4003193 by JohnHenry.Carawon QAGame: Updates to test content - Shortened frames between the examples from 95 to 30 - Separated camera setting tracks - Lighting example now switches directly from constant red - green - blue Change 4003369 by Max.Chen Sequence Recorder: Refresh next sequence regardless of internally stored sequence name. #jira UE-55757 Change 4003586 by JohnHenry.Carawon QAGame: Test Content Updates - Level Visibility track now ends to that the levels are not visible when we move to the next example - Shortened camera section, removed Z tranform so that we just move left to right and shortened the overall length Change 4004414 by Max.Chen Movie Scene Capture: Fix regression where rendering with shot handles would only render the first shot. 3972166 addressed an issue where an extra frame would be rendered by finalizing right when the end frame was reached. This was hit on the first shot end frame, so instead, do this only for when the last shot is being rendered. #jira UE-57314 Change 4004765 by Christina.TempelaarL Sequencer: Fixed bugs in FCP XML import/export. - Export: fixed sequence default resolution. - Export: fixed XML files with no shots. - Export: all sections clipped to playback range. - Export: fixed incorrect section start/end times due to precision issues. - Import: fixed incorrectly adding cinematic tracks. - Import: fixed bugs creating new sections. #jira UE-57660 #jira UE-57662 #jira UE-57655 #jira UE-57761 Change 4005119 by Max.Chen Sequencer: Export/import at play rate Change 4005195 by Max.Chen UMG: Finish UMG evaluation on stop. Added object version so that existing UMG assets do not change. #tests - Newly created UMG animation with sections set to restore state now return to their original state. Existing UMG animations with sections set to restore state do not return to their original state. #jira UE-52285 Change 4005377 by Michael.Karambelas QAGame: Moving TM-SequenceRecorder and related content out of my developer folder and into /Content/Sequencer/SequencerRecorder/* Change 4005417 by Michael.Karambelas QAGame: Fixed a BP compiler in the Level Blueprint of TM-SequencerRecorder. Change 4005634 by Michael.Karambelas QAGame: Fix up missing content and broken level sequence in TM-SequenceRecorder after move Change 4006324 by Max.Chen Sequencer: Reset if the focused movie scene is null. This fixes a crash if the user is focused in on a shot and undo takes the user past the point of where the shot was created. #jira UE-57752 #jira UE-47661 Change 4007006 by Max.Chen Sequencer: Fix FindAvailableRowIndex so that it returns the max row index (and not +1) since it doesn't find any conflicting rows. #jira UE-57717 Change 4007907 by Max.Chen Sequencer: Fix crash if there's no animation Change 4007948 by andrew.porter QAGame: added test content to dev folder for Record World Space Change 4008636 by Max.Chen Sequencer: Fix import fbx not setting values properly and creating additional cameras unncessarily. #jira UE-57864 Change 4008759 by Max.Chen Sequencer: Follow up fix for import cameras #jira UE-57864 Change 4009994 by Matt.Hoffman Dragging the left or right handles of the Time Range slider in Sequencer will now zoom your view in on the current center of the screen. This prevents the view from being translating as you tried to zoom in which caused issues at high zoom levels. #jira UESEQ-407 Change 4010169 by Christina.TempelaarL Sequencer: FCP XML fixes. - FCP XML export - no longer clips to playback range - FCP XML and EDL export - fixed missing last frame of some sections after exporting to Premiere. - Automated level capture, EDL export - use RoundToFrame instead of FloorToFrame for computing section start/end frames after frame rate conversion. #jira UE-57802 - partial fix, movie scene capture still needs to render full section rather than clip against playback. Change 4010287 by Mike.Zyracki Add quaternion interpolation option to UMovieScene3DTransformSection. This mimics how Matinee used to work by bascially finding the keys between a time and interpolating the angles as quat's between them. As noted in the code the algorithm needs to handle the case when the x,y,z Rotation keys all aren't at the same time which was not handled by Matinee. Also like Matinee, when in quaternion interoplation mode, we need to not display the function cuves since the interpolated and key values are now all different. (Would like to show them but that's a bigger refactor for perhaps just a one off needed by quaternions). I added a virtual function UMovieSceneSection::ShowCurveForChannel for this since it needs to be dynamic, not on construction of IKeyArea's, and could be useful for other sections. I could though move the method to just UMovieScene3DTransformSection and do a cast instead. Looked into doing a unit test for this but after talking with Andrew P we will work on doign an automated test in EngineQA since that will provide more coverage. Will also add a video the jira. #jira UESEQ-403 Change 4010713 by Mike.Zyracki Added option to key a group of transform channels instead of just the changed channel, or all of them. This is useful for quaternion interpolations where you want rotation keys to be aligned but also useful for other workflows like animating FK Pose to Pose. Change 4010715 by Andrew.Porter MediaFrameworkTest: Setting LogMediaUtils logging from VeryVerbose to Verbose to cut back on the spam Change 4013048 by Max.Chen Sequencer: Fix play/jump status. Update the player status for all position methods (Scrub, Jump, Play). Jump means Stopped. Correctly use PlayTo or JumpTo based on position method. In PlayInternal, JumpTo with the Stopped state (rather than playing state). #jira UE-57844 Change 4013479 by andrew.porter QAGame: Added content in TM-SequenceRecorder to test recording a property on a Cine Camera Component; Press 3 to trigger manual focus distance to increment on a timer Change 4014323 by Max.Chen Sequencer: Fix SetPlaybackPosition so that it jumps or plays based on playback status. #jira UE-57844 Change 4015888 by Max.Chen Sequencer: Fix crash on paste. UMovieSceneSections were gathered from the track node's track. For sub track mode, we want to gather only those sections on that track node row. #jira UE-57951 Change 4015943 by Max.Chen Sequencer: Fix moving shots up when the mouse pos goes outside of the virtual track area. #jira UE-57717 Change 4016293 by Max.Chen Sequencer: Fix relative frame playback end frame calculation so that custom start/end frames remain in the space of the sequence and are not relative. #jira UE-57308 Change 4017075 by Andrew.Rodham Sequencer: Corrected initial evaluation range used when calling UMovieSceneSequencPlayer::Play() Change 4017270 by Christina.TempelaarL Sequencer: FCPXML importer and movie scene capture - Use CeilToFrame when converting section start/end frame times to frame numbers in FCPXML and movie scene capture. - Added support for clip metadata in FCPXML. - Got rid of redundant TokenizedError message class, no longer needed now that FCPXML is in editor directory. - Added log messages currently commented out due to exception, still testing. #UESEQ-358 Change 4018370 by Christina.TempelaarL Sequencer: fixed FCPXML log messages regarding sections with start/end not divisible by display rate. #UESEQ-358 Change 4018378 by Christina.TempelaarL Sequencer: fixed error in previous changelist. #UESEQ-358 Change 4019457 by Max.Chen Sequencer: Show event names only when the event track is selected #jira UE-57897 Change 4022806 by Max.Chen Sequencer: Fix crash on movie scene capture dialog shutdown if movie capture wasn't even started. #jira UE-58106 Change 4022894 by Max.Chen Sequence Recorder: Wrap OpenEditorForAssets after sequence recording within GIsEditor #jira UE-58084 Change 4024487 by Max.Chen Sequencer: Add tooltip for quat interpolation #jira UE-58113 Change 4024562 by Max.Chen Sequencer: Change path/attach track sequence binding id to currently focused sequence id so that bindings can be created in subsequences Change 4027414 by JohnHenry.Carawon QAGame: Checking in content that shows a bug with using particles systems and Delay Before Shot Warm Up. Change 4028990 by Max.Chen Sequencer: Fix evaluate sub sequences in isolation. This check was added with the compile on the fly logic. Not sure why it was necessary but it seems like the sub sequence data needs to be updated in order to evaluate sub sequences in isolation. #jira UE-58184 Change 4029004 by Max.Chen Sequencer: Ensure that old binding references are removed when re-assigning actors in sequencer #jira UE-57898 Change 4030997 by JohnHenry.Carawon QAGame: Fixing name of the master sequence Change 4031785 by Michael.Karambelas QAGame: Added an instance of ThirdPerson Run to TM-SequenceRecorder for Record to Possessable test. Change 4035548 by Andrew.Rodham Sequencer: Changed FMovieSceneEvaluationTemplate::TemplateSignature to be a serial number to address non-deterministic cooking issues - This commit is related to the repro steps found in 3914599 and 3934307, both of which have been verified with this new change. - Copy of 4031684 from //Fortnite/Main/... #jira FORT-84852 Change 4036312 by Max.Chen Sequencer: Fix zoom view range so that it uses the passed in InZoomDelta Change 4036318 by Max.Chen Sequencer: Auto size now returns a range and defaults to the channel proxy range so that keyed regions can also be autosized. Change 4036322 by Max.Chen Forgot missing change Change 4036360 by Max.Chen Sequencer: Fix play rate calculation when skeletal animation section play rate changes. Change 4037163 by Mike.Zyracki Weighted Tangent Implementation Tricky thing is that you need to solve a cubic in order to get the bezier weights for the time part of the curve. See https://www.gamedev.net/forums/topic/474094-help-function-curves-for-animation-interpolation/ Maya provides an implementation in it's dev kit but I didn't use it since it was horribly slow and uses an iterative solution to solve the cubic needed. Instead I use an old algorithm (Cardano's method), to solve the cubic which should be much faster. Though relative simple to code from principles I just went ahead and used a version from Graphics Gems 1. I put this cubic solver directly in MovieSceneFloatChannel.cpp, but will need to move it when we support Rich Curve, maybe to FMath:: (which would probalby require some other functions for solving quartics, etc.. for completeness.). Also note we resolve this on every evaluation but dont' need to if the interval the time is evaluating hasn't had any change in values or tangents. So again when we support FRichCurve we can create a Weighted Evaluating class that can hold the cache. Also with the tangent drags I got rid of the Cardinal position that was used to calculate non-weight tangents from the key point and just quickly getting a direction. With weighted tangents we need to use the delta instead (otherwise when moving multiple they would all get the same weight based upon distance to the cardinal point. ) For mixed tangents types what I'm defaulting to non weighted if the interval doesn't match. May need to do weighted instead, not sure. What's left is just FBX import, for tomorrow. #jira UESEQ-76 Change 4037435 by Mike.Zyracki Fix fo build warnings from weighted tangent submission. #trivial Change 4038091 by Michael.Karambelas QAGame: Updated a Sequence Recorder group in TM-SequenceRecorder that had an actor missing the animation. Change 4038374 by Andrew.Rodham Sequencer: Refined scrubber styling for level sequences and actor sequences - Scrubber now shows a block the width of a dsplay rate frame, plus a line for the actual evaluated time. UMG reverts back to the previous styling (no block) - Keys that are outside of the playback range are now drawn with a subdued effect - Tick labels are no longer drawn when directly underneath the scrubber Change 4038490 by Max.Chen Sequencer: Expose tangent weight values in details panel. Change 4038620 by Andrew.Rodham Sequencer: Advanced time panel polish #jira UESEQ-426 Change 4038677 by Max.Chen Movie Scene Capture: Redirector for MovieSceneTools.AutomatedLevelSequenceCapture #jira UE-58248 Change 4039739 by Max.Chen Sequencer: Media track should only be supported by Level Sequence Change 4040024 by JohnHenry.Carawon QAGame: Fix EventReciever and OverrideBinding example The level sequence was set to none so the fix was to set it back to TrackEvaluation_Master. Change 4040610 by Andrew.Rodham Curve Editor: Moved weighted tangent switchers to a single toggle command (CTRL+W) and added an icon #jira 58383 Change 4040882 by Mike.Zyracki Keep broken when turning on weighted #jira UE-58435 Change 4041089 by andrew.porter QAGame: Sequence for Long Tangents bug Change 4041498 by Mike.Zyracki Turn off weighted when going auto to prevent large tangents. Do it both in UI and when doing AutoSetTangents() to really make sure it doesn't happen. #jira UE-58452 Change 4041752 by andrew.porter MediaFrameworkTest: Adding some better logging for setting rates when not supported. Also ignoring commiting URL when there is no text Change 4041896 by Matt.Hoffman The transform dialog box now transforms selected keys and sections, instead of just keys. #jira UE-58265 [CL 4044405 by Max Chen in Main branch]
2018-05-02 10:10:00 -04:00
return Timecode;
}