Manipulator: add snap flag

This commit is contained in:
Campbell Barton 2017-07-17 14:16:23 +10:00
parent 193d7d6333
commit d221a999cb
1 changed files with 1 additions and 0 deletions

View File

@ -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);