Manipulator: add snap flag
This commit is contained in:
parent
193d7d6333
commit
d221a999cb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue