diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-08-20 21:07:48 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-08-20 21:07:48 +0300 |
commit | 58341242bf6b30392435130b242d2366ab03c1dd (patch) | |
tree | 29aa10a82d019779804008022037024c5286b3e4 /source/blender/makesrna | |
parent | 1876e18b1b8fd252f11e380da8ee80bb5e607a48 (diff) |
Editor Transform: New Snap Option Middle
Part of T66420
Reviewers: campbellbarton, brecht
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D5532
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 45614668475..0da96a895a9 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -167,6 +167,11 @@ const EnumPropertyItem rna_enum_snap_element_items[] = { {SCE_SNAP_MODE_EDGE, "EDGE", ICON_SNAP_EDGE, "Edge", "Snap to edges"}, {SCE_SNAP_MODE_FACE, "FACE", ICON_SNAP_FACE, "Face", "Snap to faces"}, {SCE_SNAP_MODE_VOLUME, "VOLUME", ICON_SNAP_VOLUME, "Volume", "Snap to volume"}, + {SCE_SNAP_MODE_EDGE_MIDPOINT, + "EDGE_MIDPOINT", + ICON_SNAP_MIDPOINT, + "Edge Center", + "Snap to the middle of edges"}, {0, NULL, 0, NULL, NULL}, }; |