Commit Graph

736 Commits

Author SHA1 Message Date
Robert Manuszewski
20505f9b6e Fixing a crash when re-enetering FlushAsyncLoading in the same callstack when there was a synchronuous load request from async loading callbacks.
[CL 2550784 by Robert Manuszewski in Main branch]
2015-05-14 11:04:37 -04:00
Robert Manuszewski
bbae14b53f Fixing subobject instancing when creating a blueprint instance from non-CDO archetype.
UE-15502

[CL 2550415 by Robert Manuszewski in Main branch]
2015-05-14 04:07:40 -04:00
Mike Beach
82c8cf9bb2 [UE-15439] Moving where we resolve deferred CDO initialization (making sure it happens before the super CDO has been regenerated, because on regeneration the class layout could change).
#codereview Nick.Whiting, Robert.Manuszewski, Dan.OConnor

[CL 2549561 by Mike Beach in Main branch]
2015-05-13 16:30:10 -04:00
Michael Schoell
b8c405f221 Retrieving localized metadata will prefer local changes to the metadata if they do not match what is expected by localization. This means that if you change the metadata in the header, it will use the updated value instead of the localized value and your change will be seen in the editor.
#jira UE-15427 - Changing category name on a property has no effect

[CL 2549390 by Michael Schoell in Main branch]
2015-05-13 15:28:49 -04:00
Ankit Khare
e589eb7ceb UE-14297 - Hang on Launch On HTML5 projects - ( 4.8 blocker)
fixing an issue for single thread mode where the IOSystem is starved and loading goes into an infinite loop,  this change may be pushing other issues under the rug, but for now checking it in as it has a limited fallout, if any.

#codereview Robert.Manuszewski@epicgames.com

[CL 2547766 by Ankit Khare in Main branch]
2015-05-12 16:10:26 -04:00
Dmitry Rekman
828db67ab9 Fix compile error (|| and && in the same scope).
- Also fixed an unrelated initialization order warning.

#codereview Daniel.Wright, Daniel.Lamb

[CL 2546234 by Dmitry Rekman in Main branch]
2015-05-11 19:12:54 -04:00
Marc Audy
1d31f4c265 Put in braces to avoid risk of code breakage
[CL 2545498 by Marc Audy in Main branch]
2015-05-11 11:14:46 -04:00
Daniel Lamb
292f109619 Turned off profiling of SavePackage.
[CL 2545443 by Daniel Lamb in Main branch]
2015-05-11 10:52:44 -04:00
Robert Manuszewski
0b6efc3f99 Fixing potential race condition in FUnresolvedStructTracker::Reset
[CL 2545367 by Robert Manuszewski in Main branch]
2015-05-11 10:11:11 -04:00
Mikolaj Sieluzycki
738a231ed7 Fix property propagation from CDO to instances.
#codereview Robert.Manuszewski

[CL 2545115 by Mikolaj Sieluzycki in Main branch]
2015-05-11 04:39:41 -04:00
Maciej Mroz
2b08fb4337 UE-15054 Having 2 empty blueprint enumerators with the same name without adding values causes crash
Unique name for max element in UserDefinedEnum.

[CL 2544611 by Maciej Mroz in Main branch]
2015-05-09 20:41:34 -04:00
Michael Noland
bcf2c95167 Core: Improved the readability of a warning message for struct type mismatches in SerializeTaggedProperties
[CL 2544562 by Michael Noland in Main branch]
2015-05-09 17:12:12 -04:00
Steve Robb
7f291d9a91 Only register and unregister the class during deserialization.
#codereview robert.manuszewski

[CL 2543984 by Steve Robb in Main branch]
2015-05-08 19:25:06 -04:00
Marc Audy
fd7b7e2828 Fix bad bug in FStringAssetReference where TryLoad would return null instead of the loaded object
[CL 2543103 by Marc Audy in Main branch]
2015-05-08 13:00:09 -04:00
Michael Schoell
db9c8e2240 UProperty and UFunction metadata for Category can now be localized and have improved FText usage throughout the editor (Blueprints, Behavior Trees, Materials, etc).
Big conversion of FStrings and FNames to FText.

Version bump to move some MaterialFunction UProperty from a TArray<FString> to TArray<FText> (some Engine assets are older than being allowed to auto-convert the UProperty)

Auto conversion of FName to FText (and back) now supported (as well as TArrays of those types).

Searching categories by both the localized string and the source string is now supported in Blueprints.

#jira UE-14481 - We are missing ability to translate node categories

#codereview Justin.Sargent

[CL 2542875 by Michael Schoell in Main branch]
2015-05-08 10:46:42 -04:00
Ankit Khare
595ec36484 Fixup unaligned access.
#codereview peter.sauerbrei

[CL 2541837 by Ankit Khare in Main branch]
2015-05-07 18:16:03 -04:00
Daniel Lamb
4771331526 Removed sorter completely. As it's not required.
[CL 2541137 by Daniel Lamb in Main branch]
2015-05-07 10:58:46 -04:00
Daniel Lamb
0a11aceec2 Disabled profile logging for savepackage
[CL 2541048 by Daniel Lamb in Main branch]
2015-05-07 10:17:42 -04:00
Daniel Lamb
1d9186fdbe Fixed up initialization of FObjectExportSortHelper using uninitalized variables.
Removed uneeded variables.
Removed excessive stats.

[CL 2541043 by Daniel Lamb in Main branch]
2015-05-07 10:16:37 -04:00
Robert Manuszewski
cff51abde4 Fixing hot-reload not updating derived classes if the base class layout changed resulting in the derived class layout changes without changing the overall class size.
[CL 2540792 by Robert Manuszewski in Main branch]
2015-05-07 05:55:26 -04:00
Mike Beach
94aaa51b6a [UE-15057] Make sure default sub-objects are preloaded after their CDO owner is initialized (accounts for deferred CDO initialization).
#codreview Nick.Whiting, Robert.Manuszewski

[CL 2539982 by Mike Beach in Main branch]
2015-05-06 17:16:04 -04:00
Robert Manuszewski
47522f64ff Removing debug code from FLinker
[CL 2539328 by Robert Manuszewski in Main branch]
2015-05-06 11:23:50 -04:00
Robert Manuszewski
ce61c6c71c Making FAsyncLoadingThread::InsertPackage (more) thread safe
[CL 2538742 by Robert Manuszewski in Main branch]
2015-05-06 03:24:17 -04:00
Maciej Mroz
c3c917d9a9 Cis fix for clang
[CL 2538682 by Maciej Mroz in Main branch]
2015-05-06 00:55:14 -04:00
Maciej Mroz
94197986df GetBaseStructure was replaced with TBaseStructure<>::Get()
Related to: https://udn.unrealengine.com/questions/244398/blueprint-struct-with-vector-member-crashes-editor.html

#codereview Robert.Manuszewski, Jaroslaw.Palczynski, Nick.Whiting

[CL 2538645 by Maciej Mroz in Main branch]
2015-05-05 23:07:23 -04:00