godot/editor/import
K. S. Ernest (iFire) Lee 1f87bca8fb
Better non alphanumeric bone names.
1. _gen_unique_bone_name(Ref<GLTFState> state, const GLTFSkeletonIndex skel_i, const String &p_name) won't return an empty string.

2. String GLTFDocument::_sanitize_bone_name(const String &name) will keep Japanese characters. Like: "全ての親".

3. The sanitize function allows  the bone name to be not just alphanumeric. The only required conditions are the ones in add_bone.

> ERR_FAIL_COND(p_name == "" || p_name.find(":") != -1 || p_name.find("/") != -1);

(cherry picked from commit 7b76f8783f)
2020-10-05 20:46:01 +02:00
..
SCsub
atlas_import_failed.xpm
editor_import_collada.cpp
editor_import_collada.h
editor_import_plugin.cpp
editor_import_plugin.h
editor_scene_importer_gltf.cpp Better non alphanumeric bone names. 2020-10-05 20:46:01 +02:00
editor_scene_importer_gltf.h
resource_importer_bitmask.cpp
resource_importer_bitmask.h
resource_importer_csv.cpp
resource_importer_csv.h
resource_importer_csv_translation.cpp
resource_importer_csv_translation.h
resource_importer_image.cpp
resource_importer_image.h
resource_importer_layered_texture.cpp
resource_importer_layered_texture.h
resource_importer_obj.cpp
resource_importer_obj.h
resource_importer_scene.cpp
resource_importer_scene.h
resource_importer_texture.cpp
resource_importer_texture.h
resource_importer_texture_atlas.cpp
resource_importer_texture_atlas.h
resource_importer_wav.cpp
resource_importer_wav.h