diff options
author | Julien Duroure <julien.duroure@gmail.com> | 2019-02-05 15:00:59 +0300 |
---|---|---|
committer | Julien Duroure <julien.duroure@gmail.com> | 2019-02-05 15:00:59 +0300 |
commit | 47ab32784c1865e45a6bca882da0406fddbf60ac (patch) | |
tree | 9e413ef4c63060594660309194e98b07e92c1e47 /io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py | |
parent | d6b0e690e3e323ac805d90f49ffb98264e13b7ee (diff) |
glTF importer: Make FCurve group names consistent with Blender
Diffstat (limited to 'io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py')
-rwxr-xr-x | io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py b/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py index 12c54e6a..d8aa33a7 100755 --- a/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py +++ b/io_scene_gltf2/blender/imp/gltf2_blender_animation_node.py @@ -82,13 +82,13 @@ class BlenderNodeAnim(): if channel.target.path == "translation": blender_path = "location" - group_name = "location" + group_name = "Location" num_components = 3 values = [loc_gltf_to_blender(vals) for vals in values] elif channel.target.path == "rotation": blender_path = "rotation_quaternion" - group_name = "rotation" + group_name = "Rotation" num_components = 4 if node.correction_needed is True: values = [ @@ -106,7 +106,7 @@ class BlenderNodeAnim(): elif channel.target.path == "scale": blender_path = "scale" - group_name = "scale" + group_name = "Scale" num_components = 3 values = [scale_gltf_to_blender(vals) for vals in values] |