Blender Git Loki

Git Commits -> Revision 7064f6c

Revision 7064f6c by Dalai Felinto (master)
September 6, 2009, 19:51 (GMT)
Mathutils fix: Vector.reflect
* correct function for reflection and moving it to arithb.c
* note: 2.5 has an already more elegant solution for it (still wrong, but the code is cleaner).
Therefore the merge may need to be manual in that case.

Specifically in 2.5 we are doing:
if(!BaseMath_ReadCallback(self) || !BaseMath_ReadCallback(value)) return NULL;
And there we don't need to create a VectorObject *mirrvec; only to get the values.

Code used to test it:
http://www.pasteall.org/7654/python

* YoFrankie script probably needs to be fixed too.

Commit Details:

Full Hash: 7064f6c5d88e17406df1c7c8d1fec20364571084
SVN Revision: 23037
Parent Commit: a46beac
Lines Changed: +30, -25

3 Modified Paths:

/source/blender/blenlib/BLI_arithb.h (+1, -0) (Diff)
/source/blender/blenlib/intern/arithb.c (+23, -0) (Diff)
/source/blender/python/api2_2x/vector.c (+6, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021