Blender Git Commit Log

Git Commits -> Revision 8aa152d

Revision 8aa152d by Joseph Eagar (master)
September 8, 2007, 00:04 (GMT)
=Python Bugfix=
The python wrapper code for shape keys was really bad; whoever wrote it
(mis)read the wrong section of blender's codebase and got the totally wrong
idea. The code was definitely broken to the point where either it had to be
fixed for 2.45, or else the entire keyblock wrapper would have to be removed
from the stable branch. The fact that it didn't crash is just sheer luck;
the code assume mesh keys were MVerts, when in fact mesh keys are just
arrays of three-float vectors.

So shapekey data can now be editing directly, and is exposed as Mathutils.Vectors.
Also I updated the epydocs to explain how it all works now.

Commit Details:

Full Hash: 8aa152df93c5bfd41115def264b9fa608e986e4e
SVN Revision: 11964
Parent Commit: 40c0b37
Lines Changed: +77, -52

2 Modified Paths:

/source/blender/python/api2_2x/doc/Key.py (+26, -9) (Diff)
/source/blender/python/api2_2x/Key.c (+51, -43) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021