You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Jira: Seeing a 1-2 second delay when opening File Menu in editor
Use FUProjectDictionary singleton to eliminate needless Refresh() inside DoesSolutionExist()/GetSolutionPath() queries. The code accessors want to discover the active game project solution/project, which should exist at editor launch time. We don't need the more recent refreshes from the temporary stack instances of FUProjectDictionary. #jira UE-96246 [CL 14283901 by geoff evans in ue5-main branch]
This commit is contained in:
@@ -37,7 +37,7 @@ FString FVisualStudioCodeSourceCodeAccessor::GetSolutionPath() const
|
||||
{
|
||||
CachedSolutionPath = FPaths::ProjectDir();
|
||||
|
||||
if (!FUProjectDictionary(FPaths::RootDir()).IsForeignProject(CachedSolutionPath))
|
||||
if (!FUProjectDictionary::GetDefault().IsForeignProject(CachedSolutionPath))
|
||||
{
|
||||
CachedSolutionPath = FPaths::Combine(FPaths::RootDir(), FString("UE4") + GVSCodeWorkspaceExtension);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user