Merge pull request #32343 from jeffres/master
Fix import hints being ignored by glTF importer
This commit is contained in:
commit
e4d56001e6
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ static Transform _arr_to_xform(const Array &p_array) {
|
||||||
}
|
}
|
||||||
|
|
||||||
String EditorSceneImporterGLTF::_sanitize_scene_name(const String &name) {
|
String EditorSceneImporterGLTF::_sanitize_scene_name(const String &name) {
|
||||||
RegEx regex("([^a-zA-Z0-9_ ]+)");
|
RegEx regex("([^a-zA-Z0-9_ -]+)");
|
||||||
String p_name = regex.sub(name, "", true);
|
String p_name = regex.sub(name, "", true);
|
||||||
return p_name;
|
return p_name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue