Files
UnrealEngineUWP/Engine/Source/Editor/UnrealEd/Private/AutoSaveUtils.cpp
Jamie Dale ac83b0d5af Made the auto-saved directory path hard-coded
UE-8432 - Crash saving an asset in a project with a long path name

The auto-save dir used to be saved in the editor config file, but was always the same and couldn't be moved outside of the "Saved" directory. This was brought up due to the config issues raised by UE-8542, so we've now agreed to just hard-code this path.

[CL 2423900 by Jamie Dale in Main branch]
2015-01-29 11:48:08 -05:00

10 lines
208 B
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "UnrealEd.h"
#include "AutoSaveUtils.h"
FString AutoSaveUtils::GetAutoSaveDir()
{
return FPaths::GameSavedDir() / TEXT("Autosaves");
}