Project option for snap to faces.
authorMartin Poirier <theeth@yahoo.com>
Mon, 12 Oct 2009 22:33:32 +0000 (22:33 +0000)
committerMartin Poirier <theeth@yahoo.com>
Mon, 12 Oct 2009 22:33:32 +0000 (22:33 +0000)
commit3a1216a2f299025c992561f55c0bb29034c79bdf
treefa8248f553582e5442810853a8e7f084c28bd947
parent1fc616351ba8ead153c0c951a91cfadcd740cc17
Project option for snap to faces.

This is similar to the old retopo all option but uses the snapping code and not the openGL depth buffer (it's thus more precise).

Not sure if making it available as a snap option is sensible, this is up for discussion.

NOTE: it will get slow fast on large meshes, we need to plug in an acceleration structure into snapping.

This will need an icon too.
14 files changed:
source/blender/editors/armature/editarmature_sketch.c
source/blender/editors/include/ED_transform.h
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/view3d_header.c
source/blender/editors/space_view3d/view3d_view.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform.h
source/blender/editors/transform/transform_conversions.c
source/blender/editors/transform/transform_generics.c
source/blender/editors/transform/transform_ops.c
source/blender/editors/transform/transform_snap.c
source/blender/makesdna/DNA_scene_types.h
source/blender/makesrna/RNA_enum_types.h
source/blender/makesrna/intern/rna_scene.c