Skip to content

Commit

Permalink
Merge pull request stride3d#2027 from rizwan3d/master
Browse files Browse the repository at this point in the history
Fix: Exception material names contains "/".
  • Loading branch information
manio143 authored and xen2 committed Nov 10, 2023
2 parents 9f24db0 + 97c5b1f commit eedbdf2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sources/tools/Stride.Importer.FBX/MeshConverter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1634,6 +1634,7 @@ public ref class MeshConverter

// remove all bad characters
ReplaceCharacter(materialName, ':', '_');
ReplaceCharacter(materialName, '/', '_');
RemoveCharacter(materialName, ' ');
tempNames[lMaterial] = materialName;

Expand Down

0 comments on commit eedbdf2

Please sign in to comment.