It doesn't like material names with dashes

https://cdn.discordapp.com/attachments/813073594388054047/910591518329409557/unknown.png
This commit is contained in:
GMatrixGames 2021-11-17 13:10:08 -05:00
parent 86f0a5b96c
commit a75207487d
No known key found for this signature in database
GPG Key ID: 2621164AAF16CEDF

View File

@ -310,7 +310,7 @@ namespace FModel.ViewModels
Group3d.Add(new MeshGeometryModel3D
{
Name = unrealMaterial.Name,
Name = unrealMaterial.Name.Replace('-', '_'),
Geometry = builder.ToMeshGeometry3D(),
Material = m,
IsRendering = isRendering