This commit is contained in:
Asval
2026-11-08 15:15:35 +01:00
parent a4f7150682
commit 70b69570f9
2 changed files with 3 additions and 3 deletions

View File

@@ -520,7 +520,7 @@ public sealed class UserSettings : ViewModel
set => SetProperty(ref _meshQuality, value);
}
private EMaterialDepth _materialExportFormat = EMaterialDepth.TopLayerOnly;
private EMaterialDepth _materialExportFormat = EMaterialDepth.AllLayers;
public EMaterialDepth MaterialExportFormat
{
get => _materialExportFormat;

View File

@@ -402,7 +402,7 @@ public class CUE4ParseViewModel : ViewModel
return new JmapTypeMappingsProvider(path);
}
return new FileUsmapTypeMappingsProvider(path);
return new FileUsmapTypeMappingsProvider(path, StringComparer.Ordinal);
}
public Task InitMappings(bool force = false)
@@ -455,7 +455,7 @@ public class CUE4ParseViewModel : ViewModel
if (latestUsmaps.Length <= 0) return;
var latestUsmapInfo = latestUsmaps.OrderBy(f => f.LastWriteTime).Last();
Provider.MappingsContainer = new FileUsmapTypeMappingsProvider(latestUsmapInfo.FullName);
Provider.MappingsContainer = new FileUsmapTypeMappingsProvider(latestUsmapInfo.FullName, StringComparer.Ordinal);
l = ELog.Warning;
}
}