Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2008-01-21 01:43:48 +0300
committerMartin Poirier <theeth@yahoo.com>2008-01-21 01:43:48 +0300
commit3d7271f059d5cb5c6f2c7adfaec8d35858485da1 (patch)
treed2018f243ef4bb2dd2f651e574c60d02489a7072 /source/blender/makesdna/DNA_scene_types.h
parent32c4bbbcc5d7a8048ec252eda49a408783f03bea (diff)
=== Transform Snap ===
Snapping Mode: Active With this mode, the active element (at this time, object or vertice) is used as snapping target. If there is no active element in the selection, it reverts back to median mode. Edit Mode snapping, other meshes no longer have to be selected to act as snapping point. Fix a potential bug with snapping point from other meshes.
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 200e904bc88..b342bc5afe8 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -663,6 +663,7 @@ typedef struct Scene {
#define SCE_SNAP_TARGET_CLOSEST 0
#define SCE_SNAP_TARGET_CENTER 1
#define SCE_SNAP_TARGET_MEDIAN 2
+#define SCE_SNAP_TARGET_ACTIVE 3
/* sce->selectmode */
#define SCE_SELECT_VERTEX 1 /* for mesh */