Commit Graph

922 Commits

Author SHA1 Message Date
Saul Abreu
e1fe253a7c Implemented localized package loading based on trying to find the package located under "<ContentRoot>/L10N/<CultureCode>/<OriginalPackagePath>". The localized package content subdirectories are also filtered out of the content browser views. In the editor, package paths are not redirected in any additional manner, but outside the editor the package paths redirect to the calculated localized package location.
[CL 2636232 by Saul Abreu in Main branch]
2015-07-28 18:21:55 -04:00
Robert Manuszewski
e669b95cd7 Changing Finished SavePackage to not be a warning (spams cook log with warnings).
#codereview Daniel.Lamb

[CL 2634625 by Robert Manuszewski in Main branch]
2015-07-27 17:28:51 -04:00
Bob Tellez
b3b6ef475f Checking in Mikolaj Sieluzycki's change to fix up callsites to ask for the value of an enum entry instead of the index. The value and the index are the same unless the enum specified element values in its declaration (i.e. enum MyEnum { FirstValue = 1 })
[CL 2634487 by Bob Tellez in Main branch]
2015-07-27 16:26:39 -04:00
Jamie Dale
068fea7b24 Updated the asset registry gathering to use the directory iteration functions that provide file stat data
The discovery phase now uses the fact that the stat data for a file is available up-front to perform the check against the cached timestamp immediately. On Windows, and for the cases where most or all of the data is cached, this can significantly improve the asset registry gathering time as it avoids performing a second scan of the file-system for the majority of the files.

[CL 2634348 by Jamie Dale in Main branch]
2015-07-27 15:27:45 -04:00
Maciej Mroz
fb47c3fb1b Added UPropertyInterface::AddReferencedObjects function.
Added CPPF_BlueprintCppBackend flag.

#jira UE-19180 FReferenceFinder cannot find InterfaceClass reference in UInterfaceProperty object

#codereview Robert.Manuszewski

[CL 2633780 by Maciej Mroz in Main branch]
2015-07-27 09:18:22 -04:00
Robert Manuszewski
73da007e86 Merging CL #2632216: Fix for crash when doing reference search
[CL 2632222 by Robert Manuszewski in Main branch]
2015-07-24 10:35:34 -04:00
Robert Manuszewski
3bcc864c3d Added support for loading cooked content in editor.
#codereview Daniel.Lamb

[CL 2632031 by Robert Manuszewski in Main branch]
2015-07-24 05:57:33 -04:00
Robert Manuszewski
ace2cd233c Fixing crash when destroying a linker in level streaming.
UE-19028

[CL 2630804 by Robert Manuszewski in Main branch]
2015-07-23 12:43:13 -04:00
Jaroslaw Palczynski
2c16d2b417 FStringAssetReference fixes.
All changes regarding e-mail discussion titled "Asset registry shenanigans".

Changes:
1. Engine now actively is getting rid of short asset paths in FStringAssetReference during saving (for all packages) and loading (only for older packages).
2. Deprecated direct access to FStringAssetReference.AssetLongPathname and exposed it via ToString and SetPath -- SetPath is making sure the path is in correct format. If the path can't be found on disk, the path is cleared.
3. Also access to FStringAssetReference.AssetLongPathnam via Blueprints is guarded using custom Make node function that uses SetPath instead of simple assign.
4. StringAssetReferenceMap will now contain only paths to packages (not objects) and ini references
5. GetDependencies now has additional parameter that lets you chose if it should resolve ini references or not. It was left not as default to keep old behaviour.

[CL 2630589 by Jaroslaw Palczynski in Main branch]
2015-07-23 10:49:29 -04:00
Maciej Mroz
965cce49c3 BytecodeOnly compilation recreates UberGraphPersistentFrame.
#jira UE-15597 Editor crashes upon PIE unless tick is disconnected and reconnected

[CL 2630376 by Maciej Mroz in Main branch]
2015-07-23 06:10:47 -04:00
Bob Tellez
e5e996073e #UE4 Minor data structure cleanup after CL#2629314
[CL 2629454 by Bob Tellez in Main branch]
2015-07-22 16:00:24 -04:00
Bob Tellez
2fa41d3894 #UE4 Tightening up accounting for exclusive load package time tracking. There was a case where the value returned from IsAsset in PostLoad was changing for some objects. Now only objects where IsAsset returns true before PostLoad is called are tracked. Also moved asset type tracking to be evaluated at report time instead of tracking time.
[CL 2629314 by Bob Tellez in Main branch]
2015-07-22 14:49:01 -04:00
Richard Hinckley
624c0bc7a3 [UE-17240] - Changing "@see" to "See:"in tooltips.
[CL 2627965 by Richard Hinckley in Main branch]
2015-07-21 15:41:15 -04:00
Mike Beach
854326149b [UE-17464] Making sure we defer serialization for CDO that have had their initialization deferred (need to initialize CDOs with their parent's values before we load overridden values, not vise versa).
#codereview Maciej.Mroz

[CL 2627755 by Mike Beach in Main branch]
2015-07-21 14:02:25 -04:00
Bob Tellez
a6646aeed7 [AUTOMERGE]
#UE4 Added the exclusive load package time tracker, which is a tool to keep track of the exclusive load times for all packages that are loaded in development/debug builds. Use the "LoadTimes.DumpReport" console command to see the load time report

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2627564 by Bob.Tellez on 2015/07/21 12:07:44.

[CL 2627568 by Bob Tellez in Main branch]
2015-07-21 12:10:07 -04:00
Robert Manuszewski
0b0267f356 Adding missing Unhash Object stat
[CL 2627310 by Robert Manuszewski in Main branch]
2015-07-21 09:20:31 -04:00
Robert Manuszewski
c488dc8e42 Making FDefferedMessageLog slighly more thread safe
[CL 2626067 by Robert Manuszewski in Main branch]
2015-07-20 13:13:50 -04:00
Richard TalbotWatkin
080b1016b6 Back out changelist 2625724
[CL 2625925 by Richard TalbotWatkin in Main branch]
2015-07-20 11:16:15 -04:00
Jaroslaw Palczynski
09a1709ba1 UE-16118: 4.8 Preview 3: Hot reload error after adding new enums to a UObject file.
[CL 2625918 by Jaroslaw Palczynski in Main branch]
2015-07-20 11:11:29 -04:00
Jaroslaw Palczynski
7556a55d8b Make LoadObject to also respect the legacy struct's path.
It turnes out that LoadObject had not a legacy path that FindObject did. Moved legacy logic to StaticFindObjectFast that is shared by both functions

UDN: https://udn.unrealengine.com/questions/252115/failed-to-find-object-when-cooking.html

[CL 2625803 by Jaroslaw Palczynski in Main branch]
2015-07-20 09:54:28 -04:00
Richard TalbotWatkin
1e4b7565e1 Removed FDeferredMessageLog. Added concept of 'unseen messages' to IMessageLog. Opened assets now automatically open the message log if they encounter load errors.
#jira UE-18229 - Opening an asset that has load warnings does not pop up the Message Log

[CL 2625724 by Richard TalbotWatkin in Main branch]
2015-07-20 09:01:53 -04:00
Maciej Mroz
7898a4354d "AsyncTaskProxy" pin is shown in AsyncTask node only when the proxy class has "ExposedAsyncProxy" meta data.
#codereview Mieszko.Zielinski, Michael.Noland

[CL 2625596 by Maciej Mroz in Main branch]
2015-07-20 04:28:05 -04:00
James Hopkin
81e871b47f Merging
//depot/UE4-Fortnite/Engine/Source/Runtime/CoreUObject/Public/UObject/ScriptInterface.h

to //depot/UE4/Engine/Source/Runtime/CoreUObject/Public/UObject/ScriptInterface.h

[CL 2625281 by James Hopkin in Main branch]
2015-07-18 07:02:29 -04:00
Robert Manuszewski
4b1aa3a917 Merging change #2624225
Fixing Token Stream not properly handling AddReferencedObjects pointers when added just before the end of array tokens. Introduced new token type that marks the end of a pointer data inside of a token stream to correctly handle return count for the array.

[CL 2624655 by Robert Manuszewski in Main branch]
2015-07-17 14:42:34 -04:00
Martin Mittring
fcffaa7884 better %f seconds printout
[CL 2624557 by Martin Mittring in Main branch]
2015-07-17 13:48:35 -04:00