diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-19 00:50:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-19 00:50:52 +0300 |
commit | 5f49fdf9d660b3fb3041ae9f926cf44835d1f236 (patch) | |
tree | 9510473897cc385cc0fe4f44dc14410aa46fe896 /io_import_scene_mhx.py | |
parent | b4fb6681488f93db7ddb2fb1c419aa324e23e44b (diff) |
update for changes in blender api.
Diffstat (limited to 'io_import_scene_mhx.py')
-rw-r--r-- | io_import_scene_mhx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_import_scene_mhx.py b/io_import_scene_mhx.py index 273848c1..3b744846 100644 --- a/io_import_scene_mhx.py +++ b/io_import_scene_mhx.py @@ -693,7 +693,7 @@ def parseAnimDataFCurve(adata, rna, args, tokens): elif key == 'FModifier': parseFModifier(fcu, val, sub) elif key == 'kp': - pt = fcu.keyframe_points.add(n, 0) + pt = fcu.keyframe_points.insert(n, 0) pt.interpolation = 'LINEAR' pt = parseKeyFramePoint(pt, val, sub) n += 1 |