From 4d6da30d165b9c4b53ab4df38bb4464a02abe5cb Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Thu, 8 Jun 2023 15:55:43 -0300 Subject: [PATCH] Cleanup: Remove unsupported mode from macro 'SCE_SNAP_MODE_GEOM' `SCE_SNAP_MODE_FACE_NEAREST` is actually not supported as one of the geometry snap modes. It is not used for either the snap cursor or the `Set Snap Base` mode. --- source/blender/makesdna/DNA_scene_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 7e56cd94635..3559612f36a 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -2328,7 +2328,7 @@ ENUM_OPERATORS(eSnapMode, SCE_SNAP_MODE_FACE_RAYCAST) #define SCE_SNAP_MODE_GEOM \ (SCE_SNAP_MODE_VERTEX | SCE_SNAP_MODE_EDGE | SCE_SNAP_MODE_FACE | \ - SCE_SNAP_MODE_EDGE_PERPENDICULAR | SCE_SNAP_MODE_EDGE_MIDPOINT | SCE_SNAP_MODE_FACE_NEAREST) + SCE_SNAP_MODE_EDGE_PERPENDICULAR | SCE_SNAP_MODE_EDGE_MIDPOINT) /** #SequencerToolSettings.snap_mode */ #define SEQ_SNAP_TO_STRIPS (1 << 0)