Include regionSize in import/export path, even if path is custom
This commit is contained in:
parent
ae65cc9e1b
commit
b898bb3f2d
@ -12,7 +12,7 @@ public class Converter(float regionSize, string? exportFolderPath = null, ILogge
|
||||
{
|
||||
internal readonly float RegionSize = regionSize;
|
||||
|
||||
internal readonly string ExportFolderPath = exportFolderPath ?? Path.Join(Environment.CurrentDirectory, regionSize.ToString(CultureInfo.InvariantCulture));
|
||||
internal readonly string ExportFolderPath = Path.Join(exportFolderPath ?? Environment.CurrentDirectory, regionSize.ToString(CultureInfo.InvariantCulture));
|
||||
internal const string NodesMapRegionFileName = "nodes.map";
|
||||
internal const string WayMapRegionFileName = "ways.map";
|
||||
internal const string NodesRegionDirectory = "nodes";
|
||||
|
@ -9,7 +9,7 @@ public class RegionLoader(float regionSize, string? importFolderPath = null, ILo
|
||||
{
|
||||
internal readonly float RegionSize = regionSize;
|
||||
|
||||
internal readonly string ImportFolderPath = importFolderPath ?? Path.Join(Environment.CurrentDirectory, regionSize.ToString(CultureInfo.InvariantCulture));
|
||||
internal readonly string ImportFolderPath = Path.Join(importFolderPath ?? Environment.CurrentDirectory, regionSize.ToString(CultureInfo.InvariantCulture));
|
||||
private const string NodesMapRegionFileName = "nodes.map";
|
||||
private const string WayMapRegionFileName = "ways.map";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user