diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-10-31 20:09:53 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-10-31 20:09:53 +0300 |
commit | 44d67b6dc8b973dd924ef8b8d1177d650f559790 (patch) | |
tree | e6f4d8d78b2dd8a22e0ef666dfa045d0935862ad /source/blender/makesdna/DNA_scene_types.h | |
parent | 3c32c5c2ddd04ef826d58bc3f8dd3f4420adeb73 (diff) |
Transform: Add option to exclude back facing geometry from snapping
Add new `Backface Culling` option to the snapping properties.
This option has nothing to do with the view3d display or the
workbench `Backface Culling` option.
Limitation:
- In edit mode, this option only affects snap to faces.
Maniphest Tasks: T71217
Differential Revision: https://developer.blender.org/D6155
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_scene_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 3794508d5a2..2ca9e3b2ef7 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -2035,6 +2035,7 @@ enum { #define SCE_SNAP_PROJECT (1 << 3) #define SCE_SNAP_NO_SELF (1 << 4) #define SCE_SNAP_ABS_GRID (1 << 5) +#define SCE_SNAP_BACKFACE_CULLING (1 << 6) /* ToolSettings.snap_target */ #define SCE_SNAP_TARGET_CLOSEST 0 |