FBX IO: Speed up transformation animation import #104870

Merged
Thomas Barlow merged 6 commits from Mysteryem/blender-addons:fbx_import_anim_numpy_p1.5 into main 2023-09-11 13:53:12 +02:00

6 Commits

Author SHA1 Message Date
Thomas Barlow f7e372e475 Increase FBX IO version 2023-09-11 12:47:42 +01:00
Thomas Barlow 56bcc06c6f Merge branch 'main' into fbx_import_anim_numpy_p1.5 2023-09-11 12:46:48 +01:00
Thomas Barlow 8bb30da036 Fix in-place modification of item.anim_compensation_matrix 2023-09-11 12:30:20 +01:00
Thomas Barlow 691c3d0c45 Tidy up 2023-09-05 17:33:15 +01:00
Thomas Barlow 888ac37a7d Move pre- and post- matrices outside the hot loop 2023-09-05 02:32:51 +01:00
Thomas Barlow acffdf2725 Speed up _transformation_curves_gen
Precalculate the matrices that do not change each frame.

Convert animated rotation values to radians in advance with NumPy.
2023-09-05 02:32:48 +01:00