Cleared TODOs in OLSAssetManagerStartupJob
This commit is contained in:
parent
7a9b1b82b2
commit
8917782a44
@ -3,13 +3,16 @@
|
||||
|
||||
#include "Systems/OLSAssetManagerStartupJob.h"
|
||||
|
||||
#include "OLSLog.h"
|
||||
|
||||
DEFINE_LOG_CATEGORY(LogOLSAssetManagerStartupJob);
|
||||
|
||||
TSharedPtr<FStreamableHandle> FOLSAssetManagerStartupJob::DoJob() const
|
||||
{
|
||||
const double jobStartTime = FPlatformTime::Seconds();
|
||||
|
||||
TSharedPtr<FStreamableHandle> handle;
|
||||
// @Todo replace this with our custom log.
|
||||
// UE_LOG(LogLyra, Display, TEXT("Startup job \"%s\" starting"), *JobName);
|
||||
OLS_LOG_NO_WORLD(LogOLSAssetManagerStartupJob, Display, TEXT("Startup job \"%s\" starting"), *JobName);
|
||||
JobFunc(*this, handle);
|
||||
|
||||
if (handle.IsValid())
|
||||
@ -19,8 +22,8 @@ TSharedPtr<FStreamableHandle> FOLSAssetManagerStartupJob::DoJob() const
|
||||
handle->BindUpdateDelegate(FStreamableUpdateDelegate());
|
||||
}
|
||||
|
||||
// @Todo replace this with our custom log.
|
||||
// UE_LOG(LogLyra, Display, TEXT("Startup job \"%s\" took %.2f seconds to complete"), *JobName, FPlatformTime::Seconds() - jobStartTime);
|
||||
OLS_LOG_NO_WORLD(LogOLSAssetManagerStartupJob, Display, TEXT("Startup job \"%s\" took %.2f seconds to complete"),
|
||||
*JobName, FPlatformTime::Seconds() - jobStartTime);
|
||||
|
||||
return handle;
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
#include "Engine/StreamableManager.h"
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(LogOLSAssetManagerStartupJob, Verbose, All);
|
||||
|
||||
DECLARE_DELEGATE_OneParam(FOLSAssetManagerStartupJobSubstepProgress, float /*newProgress*/);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user