Blender Git Loki

Git Commits -> Revision d3f9679

Revision d3f9679 by Germano Cavalcante (compositor-2016)
June 8, 2016, 19:45 (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: d3f96790c3c6dbc5be28d9ac3a69afd356902a3e
Parent Commit: 70842f7
Committed By: Jeroen Bakker
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021