Files
UnrealEngineUWP/Engine/Source/Developer/UnsavedAssetsTracker/Source/UnsavedAssetsTracker.Build.cs
wouter burgers 07778cf83f SourceControl: If SourceControl is not enabled or not available, don't attempt to auto FCheckOut any files, as it could prevent the user from making any edits.
Currently, if Skein is enabled but unavailable (for example: the user is disconnected from the internet), any action performed by the user will be Auto-Undo'd because the UnsavedAssetsAutoCheckout instance will trigger FCheckOut operations that will all fail.
This can be fixed in the Skein code as well but it probably makes sense to detect this on the UnsavedAssetsAutoCheckout level already.

#preflight none

[CL 24118960 by wouter burgers in ue5-main branch]
2023-02-10 10:14:06 -05:00

32 lines
539 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using UnrealBuildTool;
public class UnsavedAssetsTracker : ModuleRules
{
public UnsavedAssetsTracker(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(
new string[]
{
"Core",
"Engine",
"EditorSubsystem",
"SourceControl",
"UncontrolledChangelists",
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject",
"Engine",
"SlateCore",
"Slate",
"UnrealEd",
}
);
}
}