Blender Git Commit Log

Git Commits -> Revision da0ea30

Revision da0ea30 by Sergey Sharybin (master)
July 12, 2013, 11:18 (GMT)
Get rid of global originmat matrix from object.c

This matrix was used to store the space the object is in,
which then was accessed by snapping code. No reason to
keep it as a global variable (which isn't safe for threading,
unlikely it'll give issues now, but it's easy to avoid
issues early here).

Now made it so BKE_object_where_is_calc_ex will get an
optional parameter originmat and set this matrix in
solve_parent.

Original patch by self, minor changes by Campbell, thanks!

Commit Details:

Full Hash: da0ea308665e4ccdddaf3ab97893de13362f1cf5
SVN Revision: 58195
Parent Commit: ce172d6
Lines Changed: +24, -21

3 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+18, -15) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021