Additional filters for material names.

This commit is contained in:
OTHGMars 2019-04-22 06:53:29 -04:00
parent 98c22d0f1b
commit bc98c2e85b

View file

@ -39,7 +39,7 @@ String AppMaterial::cleanString(const String& str)
String cleanStr(str);
// Replace invalid characters with underscores
const String badChars(" -,.+=*/[]");
const String badChars(" -,.+=*/[]%$~;:");
for (String::SizeType i = 0; i < badChars.length(); i++)
cleanStr.replace(badChars[i], '_');