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:
authorCampbell Barton <ideasman42@gmail.com>2015-06-30 11:57:17 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-30 12:14:46 +0300
commitc07bba1b05faf4d7ba0b129f1e178e3b2c6a8064 (patch)
tree92612eb66fcbd8c3ce8204d39756caf36238870c /source/blender/makesdna
parent5d3ba4fb80dc5def0a11d894bcba19f4fa08fd23 (diff)
Transform: add back absolute snapping option
This ensures that vertices are grid-aligned while transforming, instead of just snapping the input values for translate.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index 397751d85e9..b3d6745512d 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1706,6 +1706,8 @@ extern const char *RE_engine_id_CYCLES;
#define SCE_SNAP_PEEL_OBJECT 4
#define SCE_SNAP_PROJECT 8
#define SCE_SNAP_NO_SELF 16
+#define SCE_SNAP_ABS_GRID 32
+
/* toolsettings->snap_target */
#define SCE_SNAP_TARGET_CLOSEST 0
#define SCE_SNAP_TARGET_CENTER 1