Using a local static for the inline text, otherwise live editing the code was having trouble reloadng due to not being able to find the empty string module.

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: nick.darnell
#ROBOMERGE-SOURCE: CL 8031043 via CL 8038255 via CL 8038267 via CL 8045999 via CL 8063302
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v400-8057353)

[CL 8072039 by nick darnell in Dev-Build branch]
This commit is contained in:
nick darnell
2019-08-16 00:47:06 -04:00

View File

@@ -33,7 +33,8 @@ public:
/** Gets the asset registry singleton */
static IAssetRegistry& GetRegistry()
{
FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked<FAssetRegistryModule>(AssetRegistryConstants::ModuleName);
static FName ModuleName("AssetRegistry");
FAssetRegistryModule& AssetRegistryModule = FModuleManager::LoadModuleChecked<FAssetRegistryModule>(ModuleName);
return AssetRegistryModule.Get();
}