Commit Graph

154 Commits

Author SHA1 Message Date
Chris Gagnon
6f65d35a7a Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) in prep for copy up
#rb none

[CL 8563299 by Chris Gagnon in Dev-Editor branch]
2019-09-06 19:11:19 -04:00
marc audy
bfe200fee4 Fixup engine code misusing GetComponentsByClass
#jira UE-79819
#rnx


#ROBOMERGE-SOURCE: CL 8503325 via CL 8503764
#ROBOMERGE-BOT: (v406-8472469)

[CL 8509323 by marc audy in Main branch]
2019-09-05 15:45:24 -04:00
Matt Hoffman
9805750e79 UMovieSceneSequencePlayer now relies on the external owner to call Stop() when the player is being torn down. BeginDestroy() is too late in the lifecycle (called immediately before deletion by GC) for UMovieSceneSequencePlayer to call Stop() on itself.
Stop has many potential side effects as it may try to restore state of external actors that this player is affecting. It is not safe to call this during BeginDestroy as the validity of object pointers is very turbulent during a GC pass. Now, the Level Sequence Actor (and ActorSequenceComponent) detect EndPlay() and call Stop (which is a noop if it's already stopped). EndPlay() is called when the original call to Destroy(...) goes out to tear down the owning actor at which point the validity of object pointers is still valid as we don't get GC'd until after EndPlay is called on destroyed items.

This fixes an issue where during a seamless level transition, Stop() would sometimes fail to disable Cinematic Mode on the Player Controller (which survives the transition) as the World would have been destroyed at that point and we use the world to get the local player controller.

#jira UE-79481
#rb Max.Chen

[CL 8386282 by Matt Hoffman in Dev-Editor branch]
2019-08-30 15:39:38 -04:00
Max Chen
719222de61 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 8153426 by Max Chen in Dev-Editor branch]
2019-08-21 00:20:50 -04:00
james brinkerhoff
d284586973 Working check-in: new gadget intros
#lockdown josh.andersen
#rb Andrew.Rodham

#ROBOMERGE-OWNER: james.brinkerhoff
#ROBOMERGE-AUTHOR: trent.halvorsen
#ROBOMERGE-SOURCE: CL 8012362 via CL 8012363 via CL 8012365 via CL 8012928
#ROBOMERGE-BOT: (v400-8057353)

[CL 8064890 by james brinkerhoff in Main branch]
2019-08-15 15:52:33 -04:00
ludovic chabant
78fe4eefe2 Add level sequence setting for handling the aspect ratio constraint during play.
The new setting defaults to overriding the constraint to XFOV to preserve previous behaviour. It lets the user choose what kind of constraint to use during the sequence, or whether to not touch the constraint at all.

#jira UE-76517
#rb max.chen, matthoffman, andrew.rodham

[CL 7824809 by ludovic chabant in Dev-Editor branch]
2019-08-06 17:06:27 -04:00
Chris Gagnon
d7d4ee7b38 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) at CL 7473521
#rb none
#fyi Max.Chen, Tim.Gautier

[CL 7614721 by Chris Gagnon in Dev-Editor branch]
2019-07-24 15:05:52 -04:00
andrew rodham
e7099dc68e Sequencer: Optimization pass at hot CPU paths
- Changed a map of maps to use a single map with a combined key and therefore reduce heap allocation (and allow for pre-reservation of sensible starting allocation)
  - Skipped unnecessarily checking for binding overrides in the spawn template if there were already bound objects
  - Skipped redundant string manipulation in actor spawner to do with level names where the common case is no specified level name

#rb Max.Chen


#ROBOMERGE-SOURCE: CL 7269368 via CL 7269369 via CL 7269968 via CL 7270024 via CL 7275797
#ROBOMERGE-BOT: (v369-7254125)

[CL 7275928 by andrew rodham in Main branch]
2019-07-11 11:41:06 -04:00
max chen
b079d60a19 Sequencer: Change cached state camera component to soft object pointer
#jira FURY-129
#rb none

#ROBOMERGE-SOURCE: CL 7266539 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v369-7254125)

[CL 7266554 by max chen in Main branch]
2019-07-10 16:43:16 -04:00
max chen
87f023bb4a Sequencer: Added null check for object template
#rb andrew.rodham


#ROBOMERGE-SOURCE: CL 7249758 via CL 7249823 via CL 7250830 via CL 7263863
#ROBOMERGE-BOT: (v369-7254125)

[CL 7263943 by max chen in Main branch]
2019-07-10 14:08:27 -04:00
Max Chen
4561801a81 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor) @7119039
#rb none

[CL 7120528 by Max Chen in Dev-Editor branch]
2019-06-21 01:21:43 -04:00
max chen
ccb2b621f1 Sequencer: Adjust transform origin tooltip
#jira UE-76125
#rb austin.crismore

#ROBOMERGE-SOURCE: CL 7073401 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v367-6836689)

[CL 7073550 by max chen in Main branch]
2019-06-18 16:59:33 -04:00
Max Chen
b4a5482916 Merging //UE4/Dev-Main to Dev-Sequencer (//UE4/Dev-Sequencer)
#rb none

[CL 6849452 by Max Chen in Dev-Sequencer branch]
2019-06-05 11:49:03 -04:00
Chris Gagnon
0a9f86357f Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 6837840 by Chris Gagnon in Dev-Editor branch]
2019-06-04 15:16:30 -04:00
Matt Kuhlenschmidt
fddbe0a896 Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 6190096 by Matt Kuhlenschmidt in Dev-Editor branch]
2019-05-01 09:59:38 -04:00
Max Chen
4b09f3076d Merging //UE4/Dev-Main to Dev-Sequencer (//UE4/Dev-Sequencer)
#rb none

[CL 6133506 by Max Chen in Dev-Sequencer branch]
2019-04-28 02:36:18 -04:00
Max Chen
ae59045d2a Sequencer: Set replicates only if HasAuthority
#jira UE-72998
#rb brian.bekich

[CL 6110896 by Max Chen in Dev-Sequencer branch]
2019-04-26 14:49:09 -04:00
Max Chen
129951b165 Sequencer: Follow up CIS fix for 6088894
#rb none

[CL 6094006 by Max Chen in Dev-Sequencer branch]
2019-04-25 11:03:45 -04:00
Max Chen
8ce0576eac Sequencer: Default the snapshot's active shot to the current sequence in case there are no shots being rendered. This fixes an issue where {Slate} and {TakeNumber} don't work.
#jira FURY-107
#rb none

[CL 6088894 by Max Chen in Dev-Sequencer branch]
2019-04-24 18:52:29 -04:00
Max Chen
da79df1d46 Sequencer: Tick sequencer separately.
This is needed so that sequencer actors can tick first, putting objects in their desired locations and then allowing other systems to respond. This fixes special cases where sequencer would tick animation again if it had ticked before sequencer.

#jira UE-59735
#jira UE-61706
#jira UE-69731
#jira UE-72639
#rb marc.audy, andrew.rodham

[CL 5901999 by Max Chen in Dev-Sequencer branch]
2019-04-15 14:03:33 -04:00
Max Chen
c33049fcbd Merging //UE4/Dev-Main to Dev-Sequencer (//UE4/Dev-Sequencer)
#rb none

[CL 5730143 by Max Chen in Dev-Sequencer branch]
2019-04-04 02:48:32 -04:00
Max Chen
9df3acd9e1 Sequencer: Make override instance data blueprint read write so it can be set in blueprints
#jira UE-72062
#rb matt.hoffman

[CL 5671296 by Max Chen in Dev-Sequencer branch]
2019-04-01 13:53:34 -04:00
Chris Gagnon
00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00
Max Chen
b40c16115c Sequencer: Fix log
#rb none

[CL 5406928 by Max Chen in Dev-Sequencer branch]
2019-03-14 20:55:31 -04:00
Max Chen
fabd7aa85e Sequencer: Added ShowBurnin and HideBurnin functions
#jira UESEQ-327
#rb andrew.rodham

[CL 5406174 by Max Chen in Dev-Sequencer branch]
2019-03-14 19:31:15 -04:00