1f87bca8fb
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
|
||
---|---|---|
.. | ||
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 | ||
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 | ||
SCsub |