Don't save shapes directory to the "last_dir"

This commit is contained in:
YuSanka 2021-07-21 16:13:40 +02:00
parent c7051c9005
commit 232309a879
4 changed files with 11 additions and 3 deletions

View file

@ -202,6 +202,11 @@ const std::string& data_dir()
return g_data_dir;
}
std::string custom_shapes_dir()
{
return (boost::filesystem::path(g_data_dir) / "shapes").string();
}
#ifdef _WIN32
// The following helpers are borrowed from the LLVM project https://github.com/llvm
namespace WindowsSupport