Commit Graph

15 Commits

Author SHA1 Message Date
Max Chen
f5dc835deb Sequencer: Missing changes.
[CL 2707670 by Max Chen in Main branch]
2015-09-28 10:23:45 -04:00
Max Chen
a503b818e6 Sequencer: Add Fade track.
[CL 2707664 by Max Chen in Main branch]
2015-09-28 10:19:34 -04:00
Max Chen
c481d7d921 Sequencer: Remove guid from cached object bindings when unpossessing an object. This fixes a bug where if you remove an object binding and then add the object again, there will be two object bindings, resulting in two nodes in the sequencer tree view.
[CL 2706036 by Max Chen in Main branch]
2015-09-25 08:43:15 -04:00
Andrew Rodham
c5fbaf1c65 Added detail customization for actor actor animation playback settings
[CL 2704173 by Andrew Rodham in Main branch]
2015-09-24 07:49:46 -04:00
Andrew Rodham
e06039a72f MovieSceneActor improvements:
- Actor Animation instance is now updated on PostLoad (fixes actor not working in some cases)
    - Added ability to edit associated asset from the level editor

[CL 2704038 by Andrew Rodham in Main branch]
2015-09-24 05:23:59 -04:00
Chris Wood
4e28926308 MovieSceneCapture build fix for CIS. Fixes errors in non-editor builds of UE4 from CL 2700384.
#codereview Andrew.Rodham

[CL 2700821 by Chris Wood in Main branch]
2015-09-22 12:55:04 -04:00
Andrew Rodham
de868f559a Improved Actor Animation Player functionality.
Properties on MovieSceneActor are now BlueprintReadOnly since they are only really set up parameters.
When actor animation players reach the end of their animation, they no longer reset back to the beginning.
Added new PlayLooping function that allows the user to dynamically set how many loops to play.
Changed defaults on playback settings to play a single animation as this is probably a better default.

[CL 2698730 by Andrew Rodham in Main branch]
2015-09-21 06:00:58 -04:00
Andrew Rodham
bc7208c356 Added MovieSceneActor, overhauled UActorAnimationPlayer, and fixed Actor Animation object bindings
Lots of change in here:
 - Improved UActorAnimationPlayer functionality to include looping and play speed (UI needs polish)
 - Fixed actor object bindings not working in PIE. We now only store the object GUID (and an object path for a fallback), which can then be fixed up within a given context (UWorld for now).
 - Added UActorAnimationInstance which is responsible for managing bindings on a UActorAnimation. UActorAnimation itself is now pretty much just a data asset.
 - Levels are no longer responsible for ticking actor animations, this is now handled by the client (either AMovieSceneActor, or ticked automatically if created from a blueprint node)

[CL 2696822 by Andrew Rodham in Main branch]
2015-09-18 04:56:12 -04:00
Frank Fella
87a445176c Sequencer - Cache components with a weak pointer to avoid leaks when changing levels with the sequence still open.
[CL 2684798 by Frank Fella in Main branch]
2015-09-09 11:42:52 -04:00
Andrew Rodham
c9dc249236 Moved ActorAnimationPlayer to Runtime/ActorAnimation
Also changed the PlayActorAnimation function to CreateActorAnimationPlayer. PlayActorAnimation can be implemented in terms of CreateActorAnimationPlayer and UActorAnimationPlayer::Play()

[CL 2680085 by Andrew Rodham in Main branch]
2015-09-04 05:34:10 -04:00
Frank Fella
65bdbc0eca Sequencer - Fix adding components to actor animations.
[CL 2635638 by Frank Fella in Main branch]
2015-07-28 13:46:13 -04:00
Matt Kuhlenschmidt
611aa622f3 - Rename UMovieSceneAnimation to UMovieSceneSequence (and all related classes to use the term Sequence)
- Fixed shots and sub-movie scene sequences being broken by the removal of UMovieScene as an asset class

[CL 2634030 by Matt Kuhlenschmidt in Main branch]
2015-07-27 12:12:59 -04:00
Max Preussner
b5b4dc52f2 MovieScene: Changed IMovieSceneAnimation interface to UMovieSceneAnimation base class to work around UInterface limitations
#CodeReview: matt.kuhlenschmidt

[CL 2631112 by Max Preussner in Main branch]
2015-07-23 15:29:06 -04:00
Max Preussner
2e63252e8e MovieScene: Fixed shadowed variables
[CL 2629220 by Max Preussner in Main branch]
2015-07-22 14:00:13 -04:00
Max Preussner
eb6a4af8dd MovieScene: Refactored MovieScene and Sequencer to unify the implementation and handling of movie scenes and object bindings
- IMovieSceneAnimation derivatives are now the primary types consumed by Sequencer; they hold a root MovieScene inside
- Object binding managers have been removed; bindings are persisted in UActorAnimation, UNiagaraAnimation, UWidgetAnimation
- MovieSceneAssetEditor is now ActorAnimationEditor and became a plug-in
- MovieSceneRuntimePlayer is now ActorAnimationPlayer; K2Node_PlayMovieScene has been removed

#CodeReview: matt.kuhlenschmidt, frank.fella, nick.darnell, olaf.piesche, max.chen, andrew.rodham

[CL 2628945 by Max Preussner in Main branch]
2015-07-22 10:59:40 -04:00