Blender Git Loki
Git Commits -> Revision 2dbed48
Revision 2dbed48 by Ken Hughes (master) November 21, 2006, 21:15 (GMT) |
Python API ========== Bugfix #4951: This might be a serious change for python script writers. -- ob.getMatrix('localspace') did not return the correct matrix when the object had a parent; this has been corrected. -- ob.setMatrix(m) did not work predictably (more correctly, in an easy-to- predict manner) when an object had a parent. The method has been changed so that if thee is a parent, it ASSUMES the matrix is "localspace", relative to the parent. The documentation now states this. -- ob.mat and ob.matrix are now read-only attributes, while ob.matrixLocal (which calls Object_setMatrix() ) is now read-write. Ton is not thrilled (is that a fair summary, Ton? ;-) with this method since the ob->obmat is calculated from the loc/rot/size attributes of an object. I'll let him speak on this, but I believe his desire is for this method to be deprecated in the future and replaced with something else. |
Commit Details:
Full Hash: 2dbed48e24e55703da78fe557f4c7b2681ba3d01
SVN Revision: 9016
Parent Commit: 973e892
Lines Changed: +64, -9