Commit Graph

1036 Commits

Author SHA1 Message Date
Ryan Gerleve
519be4bfa0 [AUTOMERGE]
Attempt to spawn a PlayerState for the replay spectator controller during client replay recording, by falling back to the default game mode object if the authority game mode can't be found (only if GetNetMode() != NM_Client).
Expose the ability to get an actor's FNetworkGUID, and the actor that corresponds to an FNetworkGUID, if available. Allows games to correlate actors across multiple local worlds if there is a client-server relationship between them.

--------
Integrated using branch UE4-Orion-To-UE4 of change#2705235 by Ryan.Gerleve on 2015/09/24 17:12:18.

[CL 2705290 by Ryan Gerleve in Main branch]
2015-09-24 17:32:17 -04:00
Jurre deBaare
34036d7772 Merging using HLOD_from_Orion
[CL 2704241 by Jurre deBaare in Main branch]
2015-09-24 09:04:18 -04:00
Maciej Mroz
edacaa6860 Fixed the previous Cis Fix in TUObjectPropertyBase
[CL 2704137 by Maciej Mroz in Main branch]
2015-09-24 07:17:08 -04:00
Maciej Mroz
776660ed97 Cis Fix
[CL 2704102 by Maciej Mroz in Main branch]
2015-09-24 06:18:47 -04:00
Maciej Mroz
c0db8b263f Cis fix.
[CL 2704066 by Maciej Mroz in Main branch]
2015-09-24 05:47:51 -04:00
Maciej Mroz
760e728416 Basic support for unconverted BP.
- Native UProperties of an unconverted type, are replaced with properties of the first native type.
- support for Cast and DynamicCast
- various fixes

#codereview Mike.Beach, Robert.Manuszewski

[CL 2704010 by Maciej Mroz in Main branch]
2015-09-24 05:05:37 -04:00
Jamie Dale
c4db6b2cc6 Minimized FText allocations when generating text at runtime
FText used to always perform two allocations, one for the shared display string pointer, and another for the text history.

This change allows text that is generated at runtime (such as via FText::AsNumber) to allocate its string and history together in a single allocation. Profiling shows that this almost negates the cost of the text history, without having to remove the text history (which is essential for FText serialization).

This means that we never have to take the hit of a second allocation for text which is generated at runtime and never serialized. Should text that was generated at runtime be serialized, then it will call TGeneratedTextData::PersistText to perform the allocation of the shared display string pointer, and allow the text to be saved, gathered, and localized.

This change also removes some allocations from FTextHistory_Base and FFormatArgumentValue, makes the text history types fully movable, and allows you to move the arguments passed to FText::Format if you know you no longer need your own copy.

[CL 2702379 by Jamie Dale in Main branch]
2015-09-23 07:57:03 -04:00
Mike Beach
cbaccb49f8 (WIP) Blueprint conversion tool now generates its own Build.cs file (with the proper dependencies).
#codereview Dan.OConnor

[CL 2700997 by Mike Beach in Main branch]
2015-09-22 14:06:00 -04:00
Maciej Mroz
904ba4257f Added comments in SavePackage.cpp
[CL 2698745 by Maciej Mroz in Main branch]
2015-09-21 06:32:29 -04:00
Robert Manuszewski
96019a2060 Merging CL# 2696877
Merging FTlsObjectInitializers with FUObjectThreadcontext to avoid excessive TLS lookups.

[CL 2697827 by Robert Manuszewski in Main branch]
2015-09-18 16:50:08 -04:00
Mike Beach
8fcdbeece4 Coordinating the Blueprint conversion tool with the backend (ensuring filenames are in sync, and that the backend knows what files will and won't be converted).
#codereview Maciej.Mroz

[CL 2697358 by Mike Beach in Main branch]
2015-09-18 14:00:49 -04:00
Maciej Mroz
c38d11436b New way of replacing old BPGC references with new (converted and native) DynamicClass references in Package::Save
#codereview Robert.Manuszewski, Mike.Beach

[CL 2696879 by Maciej Mroz in Main branch]
2015-09-18 07:41:43 -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
Sammy James
a8ce4bc065 Add support for more map types to AddReferencedObjects<> map specialization.
[CL 2695349 by Sammy James in Main branch]
2015-09-17 11:46:53 -04:00
Robert Manuszewski
a9debdf14c Removing unused SerializeRootSet
[CL 2694982 by Robert Manuszewski in Main branch]
2015-09-17 07:56:30 -04:00
Maciej Mroz
80bbe94e10 ConstructDynamicType works also when a type was saved as dynamic class.
#codereview Robert.Manuszewski

[CL 2694978 by Maciej Mroz in Main branch]
2015-09-17 07:46:40 -04:00
Jaroslaw Surowiec
95ddd28bc3 UE-17755/Time markers in the log file when using -LOGTIMESINCESTART are invalid
#platformnotify Josh.Adams

[CL 2694915 by Jaroslaw Surowiec in Main branch]
2015-09-17 06:17:29 -04:00
Graeme Thornton
a61f2ec80d Merging CL 2687751 to main
Async loading priority typedef'd and made into a signed type

[CL 2691507 by Graeme Thornton in Main branch]
2015-09-15 05:11:42 -04:00
Richard Hinckley
6ceaa5aba7 Cleaning out programmer-only comments that were harvested by Doxygen.
#platformnotify Josh.Adams

[CL 2690143 by Richard Hinckley in Main branch]
2015-09-14 09:25:39 -04:00
Max Preussner
7faed8494e Core: Allowed for specifying custom data in FStructOnScope
[CL 2689686 by Max Preussner in Main branch]
2015-09-13 15:32:09 -04:00
Maciej Mroz
2ab7ef4a33 Back out revision 222 from //depot/UE4/Engine/Source/Runtime/CoreUObject/Private/UObject/Obj.cpp
[CL 2687992 by Maciej Mroz in Main branch]
2015-09-11 11:03:12 -04:00
Maciej Mroz
f698ecbe03 UEBP-40 C++ code generation (WIP):
- Test Pipeline for native classes converted from BP (FReplaceConvertedAssetManager)
- DynamicClass support

[CL 2687964 by Maciej Mroz in Main branch]
2015-09-11 10:56:21 -04:00
Marc Audy
29b81e9eee Add default parameters consistent with LoadObject for LoadClass
[CL 2687946 by Marc Audy in Main branch]
2015-09-11 10:47:38 -04:00
Maciej Mroz
899a4c1e37 GetDynamicClassConstructFn fix
#codereview Robert.Manuszewski

[CL 2687732 by Maciej Mroz in Main branch]
2015-09-11 08:45:16 -04:00
Robert Manuszewski
3b4ed8857c Missing file from previous checkin
[CL 2687701 by Robert Manuszewski in Main branch]
2015-09-11 07:30:51 -04:00