diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-07-17 07:16:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-07-17 07:16:23 +0300 |
commit | d221a999cb18e67e638066c275fc3178e164df84 (patch) | |
tree | 242b0782aba9e50a35ea3d40df085410af781c24 /source/blender/makesrna | |
parent | 193d7d6333882112e31dd4f6196f795a8b7d5022 (diff) |
Manipulator: add snap flag
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm_manipulator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_manipulator.c b/source/blender/makesrna/intern/rna_wm_manipulator.c index 030f1a1628c..9704a9524a6 100644 --- a/source/blender/makesrna/intern/rna_wm_manipulator.c +++ b/source/blender/makesrna/intern/rna_wm_manipulator.c @@ -914,6 +914,7 @@ static void rna_def_manipulator(BlenderRNA *brna, PropertyRNA *cprop) /* wmManipulator.handler */ static EnumPropertyItem tweak_actions[] = { {WM_MANIPULATOR_TWEAK_PRECISE, "PRECISE", 0, "Precise", ""}, + {WM_MANIPULATOR_TWEAK_SNAP, "SNAP", 0, "Snap", ""}, {0, NULL, 0, NULL, NULL} }; func = RNA_def_function(srna, "modal", NULL); |