Fix conflict with "Edge Center" snap mode

`SCE_SNAP_MODE_GRID` is used for both nodes and objects.
I don't think it's worth versioning in this case.
This commit is contained in:
Germano Cavalcante 2019-08-20 19:35:11 -03:00
parent dd08d68df8
commit daba3e871f
Notes: blender-bot 2023-02-14 01:07:43 +01:00
Referenced by issue #70109, Crash with the Data Transfer Modifier (with any 'Edge Data' option)
Referenced by issue #69089, glTF addon: libextern_draco.so is missing
Referenced by issue #69015, New Denoising feature in compositor is killing details
Referenced by issue #68944, When I connect the new Denoise Node it appears in Black
1 changed files with 3 additions and 1 deletions

View File

@ -2051,10 +2051,12 @@ enum {
#define SCE_SNAP_MODE_EDGE_PERPENDICULAR (1 << 6)
/* ToolSettings.snap_node_mode */
#define SCE_SNAP_MODE_GRID (1 << 5)
#define SCE_SNAP_MODE_NODE_X (1 << 6)
#define SCE_SNAP_MODE_NODE_Y (1 << 7)
/* ToolSettings.snap_mode and ToolSettings.snap_node_mode */
#define SCE_SNAP_MODE_GRID (1 << 8)
/** #ToolSettings.snap_transform_mode_flag */
enum {
SCE_SNAP_TRANSFORM_MODE_TRANSLATE = (1 << 0),