[Bf-blender-cvs] [3d616cc] master: Temporarily disable absolute snapping
Campbell Barton
noreply at git.blender.org
Sun Jun 28 02:17:49 CEST 2015
Commit: 3d616ccba888ed678642356317745e8b638a908b
Author: Campbell Barton
Date: Sun Jun 28 10:03:55 2015 +1000
Branches: master
https://developer.blender.org/rB3d616ccba888ed678642356317745e8b638a908b
Temporarily disable absolute snapping
This really should have been finalized as a design task first,
there are too many open topics on how it should work.
===================================================================
M source/blender/makesrna/intern/rna_scene.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index d288da9..d61f734 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -159,7 +159,9 @@ EnumPropertyItem mesh_select_mode_items[] = {
EnumPropertyItem snap_element_items[] = {
{SCE_SNAP_MODE_INCREMENT, "INCREMENT", ICON_ALIGN, "Grid (increment)", "Snap to increments of grid"},
+#if 0
{SCE_SNAP_MODE_GRID, "GRID", ICON_SNAP_INCREMENT, "Grid (absolute)", "Snap to grid"},
+#endif
{SCE_SNAP_MODE_VERTEX, "VERTEX", ICON_SNAP_VERTEX, "Vertex", "Snap to vertices"},
{SCE_SNAP_MODE_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges"},
{SCE_SNAP_MODE_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap to faces"},
More information about the Bf-blender-cvs
mailing list