You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Fix import hints being ignored by glTF importer
This fixes a regression introduced in commit 72d2468
due to hyphens being removed from nodes names.
This commit is contained in:
@@ -156,7 +156,7 @@ static Transform _arr_to_xform(const Array &p_array) {
|
||||
}
|
||||
|
||||
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);
|
||||
return p_name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user