Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-01-16 19:30:50 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-01-16 19:39:25 +0300
commit89308ed082f58bb568fbf7a684d063448566b86b (patch)
tree2fa26037f150686e52a041b67068cec88f583239 /io_import_gimp_image_to_scene.py
parent7a56d60eebbbb18ac8912a9869c342a5cbba7b18 (diff)
Fix T43259: Mocap Tools - Index out of range in "Samples to Beziers"
Main issue was that the addon did not handled 'sampled_points' at all. Now it converts such curves back to keyframes ones first. This might not be optimal, but avoids having too different read logic, and we cannot do anything to sampled fcurves from python anyway... Also did some other fixes/enhancements: * Fixed behavior with groups of fcurves when they did not have same keyframes (was giving full crappy results with odd offsets). * In `fitCubic()`, do not call `maxErrorAmount()` twice unless it's really needed. * Use 'fast' remove/insert of keyframes! * Use comprehensions to generate the init points data, saves some code lines and is usually quicker. Note performance gains (though mesurable) are not so fancy, we could probably optimize much more by avoiding to use that custom nD vector class and all (and probably even much much more by using numpy), most of the time being spent inside complex math helpers, but for now it should work as expected at least.
Diffstat (limited to 'io_import_gimp_image_to_scene.py')
0 files changed, 0 insertions, 0 deletions