From ff05074e70074a3a9e52365b3ffaa51755969588 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Thu, 19 Apr 2012 18:49:53 +0900 Subject: [PATCH] Set the fcurve interpolation to linear. Since qf does linear interpolation of verts, this seems to be reasonable. Certaintly better than the rose-thorns I got because I haven't figured out how to kick the auto-clamp. --- tools/io_mesh_qfmdl/import_mdl.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/io_mesh_qfmdl/import_mdl.py b/tools/io_mesh_qfmdl/import_mdl.py index 7bdb023f0..4a7df5c11 100644 --- a/tools/io_mesh_qfmdl/import_mdl.py +++ b/tools/io_mesh_qfmdl/import_mdl.py @@ -163,6 +163,7 @@ def set_keys(act, data): fc.keyframe_points.add(len(co)) for i in range(len(co)): fc.keyframe_points[i].co = co[i] + fc.keyframe_points[i].interpolation = 'LINEAR' def build_actions(mdl): sk = mdl.mesh.shape_keys