diff options
author | Peter Kim <pk15950@gmail.com> | 2022-03-10 13:59:31 +0300 |
---|---|---|
committer | Peter Kim <pk15950@gmail.com> | 2022-03-10 13:59:31 +0300 |
commit | 96209d6e836f2504390fdcc8410b0a7475668a74 (patch) | |
tree | 62f270f010c0ce7cae18a1408ded79e38e202990 /io_anim_bvh/import_bvh.py | |
parent | 604ae8d2bd658188148e67a667c67a738e22b34d (diff) | |
parent | c34f0b90d49938eccf9c1a9ae59b055155e00f9b (diff) |
Merge branch 'master' into xr-dev
Diffstat (limited to 'io_anim_bvh/import_bvh.py')
-rw-r--r-- | io_anim_bvh/import_bvh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_anim_bvh/import_bvh.py b/io_anim_bvh/import_bvh.py index cd30ad11..2f335513 100644 --- a/io_anim_bvh/import_bvh.py +++ b/io_anim_bvh/import_bvh.py @@ -569,7 +569,7 @@ def bvh_node_dict2armature( # For each location x, y, z. for axis_i in range(3): - curve = action.fcurves.new(data_path=data_path, index=axis_i) + curve = action.fcurves.new(data_path=data_path, index=axis_i, action_group=bvh_node.name) keyframe_points = curve.keyframe_points keyframe_points.add(num_frame) @@ -615,7 +615,7 @@ def bvh_node_dict2armature( # For each euler angle x, y, z (or quaternion w, x, y, z). for axis_i in range(len(rotate[0])): - curve = action.fcurves.new(data_path=data_path, index=axis_i) + curve = action.fcurves.new(data_path=data_path, index=axis_i, action_group=bvh_node.name) keyframe_points = curve.keyframe_points keyframe_points.add(num_frame) |