diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-12-07 19:55:37 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-12-07 19:55:37 +0400 |
commit | 58528bca3662802d8b7aa5e9f5c7b2d3dce885ab (patch) | |
tree | a90a2c144beae34f2d3f16b4c09c6a9abaa9cd56 /source/blender/blenkernel/intern/unit.c | |
parent | 4e48c7d91df6aea65f59d770a0af2b07453afc88 (diff) |
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).
Diffstat (limited to 'source/blender/blenkernel/intern/unit.c')
0 files changed, 0 insertions, 0 deletions