Blender Git Loki

Git Commits -> Revision 58528bc

Revision 58528bc by Bastien Montagne (master)
December 7, 2011, 15:55 (GMT)
More fix for snapto in Pose mode:
* The code for snap to grid was completely wrong (only x pos of chan was affected�?� by z computed value!), and the same problem as with snap to cursor was present (using armature_loc_pose_to_bone is wrong here). Also, computing nearest grid point in world space! Else, it generally ends up completely out of grid, due to object transforms...
* Small cleanup of code (uneeded vars and copying).

Commit Details:

Full Hash: 58528bca3662802d8b7aa5e9f5c7b2d3dce885ab
SVN Revision: 42491
Parent Commit: 4e48c7d
Lines Changed: +42, -48

1 Modified Path:

/source/blender/editors/space_view3d/view3d_snap.c (+42, -48) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021