Blender Git Commit Log

Git Commits -> Revision 0a590aa

Revision 0a590aa by Sergej Reich (master)
October 20, 2012, 16:48 (GMT)
Add option to set object origin to the center of mass

This uses the weighted average of polygon centroids based on area
It work well in most cases but will be slightly wrong when polygons have
many vertices.

Commit Details:

Full Hash: 0a590aadf5655175f73af5b59e61acfb0fe0b144
SVN Revision: 51458
Parent Commit: d20128b
Lines Changed: +32, -2

3 Modified Paths:

/source/blender/blenkernel/BKE_mesh.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+26, -0) (Diff)
/source/blender/editors/object/object_transform.c (+5, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021