Blender Git Loki

Git Commits -> Revision fb7ff31

Revision fb7ff31 by Bastien Montagne (master)
December 29, 2014, 14:26 (GMT)
Fix stupid handling of 'Object.matrix_local' in RNA.

The getter of this matrix (actually, `BKE_object_matrix_local_get()`) was only correct
in case of pure-object parenting, bone parenting and such did not gave valid results.

Also cleaned up a bit setter code, was using as temp storage ob->obmat itself,
which is supposed to be a world matrix!

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D958

Commit Details:

Full Hash: fb7ff31315a1c9feefe993264178cb34ce443208
Parent Commit: c5927cd
Lines Changed: +15, -11

3 Modified Paths:

/source/blender/blenkernel/intern/object.c (+7, -3) (Diff)
/source/blender/collada/TransformWriter.cpp (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+7, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021