Blender Git Commit Log

Git Commits -> Revision e370806

Revision e370806 by Germano Cavalcante (master)
June 3, 2016, 06:56 (GMT)
Cleanup & simplify snapping functions

- the name of the enumerator `SNAP_NOT_OBEDIT` was changed to `SNAP_NOT_ACTIVE`.
- the parameter `snap_to_flag` was moved to outside `SnapObjectParams`.
- the member `use_object_edit` was renamed to `use_object_edit_cage`.
- added the arg `params` in `ED_transform_snap_object_project_ray`.
- simplifications in the loop of the function `snapObjectsRay`.

Commit Details:

Full Hash: e370806b38388bb501ab99f9eb65fe2ff10d9133
Parent Commit: e936348
Committed By: Campbell Barton
Lines Changed: +108, -109

10 Modified Paths:

/source/blender/editors/armature/editarmature_sketch.c (+7, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+3, -2) (Diff)
/source/blender/editors/include/ED_transform.h (+8, -5) (Diff)
/source/blender/editors/include/ED_transform_snap_object_context.h (+10, -9) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+3, -2) (Diff)
/source/blender/editors/space_view3d/view3d_ruler.c (+8, -2) (Diff)
/source/blender/editors/space_view3d/view3d_walk.c (+2, -0) (Diff)
/source/blender/editors/transform/transform_snap.c (+21, -18) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+45, -68) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021