forked from blender/blender
main sync #3
@ -2296,10 +2296,6 @@ typedef enum eSnapMode {
|
|||||||
SCE_SNAP_MODE_EDGE_PERPENDICULAR = (1 << 5),
|
SCE_SNAP_MODE_EDGE_PERPENDICULAR = (1 << 5),
|
||||||
SCE_SNAP_MODE_FACE_NEAREST = (1 << 8),
|
SCE_SNAP_MODE_FACE_NEAREST = (1 << 8),
|
||||||
|
|
||||||
SCE_SNAP_MODE_GEOM = (SCE_SNAP_MODE_VERTEX | SCE_SNAP_MODE_EDGE | SCE_SNAP_MODE_FACE_RAYCAST |
|
|
||||||
SCE_SNAP_MODE_EDGE_PERPENDICULAR | SCE_SNAP_MODE_EDGE_MIDPOINT |
|
|
||||||
SCE_SNAP_MODE_FACE_NEAREST),
|
|
||||||
|
|
||||||
/** #ToolSettings.snap_node_mode */
|
/** #ToolSettings.snap_node_mode */
|
||||||
SCE_SNAP_MODE_NODE_X = (1 << 0),
|
SCE_SNAP_MODE_NODE_X = (1 << 0),
|
||||||
SCE_SNAP_MODE_NODE_Y = (1 << 1),
|
SCE_SNAP_MODE_NODE_Y = (1 << 1),
|
||||||
@ -2314,6 +2310,10 @@ typedef enum eSnapMode {
|
|||||||
ENUM_OPERATORS(eSnapMode, SCE_SNAP_MODE_GRID)
|
ENUM_OPERATORS(eSnapMode, SCE_SNAP_MODE_GRID)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define SCE_SNAP_MODE_GEOM \
|
||||||
|
(SCE_SNAP_MODE_VERTEX | SCE_SNAP_MODE_EDGE | SCE_SNAP_MODE_FACE_RAYCAST | \
|
||||||
|
SCE_SNAP_MODE_EDGE_PERPENDICULAR | SCE_SNAP_MODE_EDGE_MIDPOINT | SCE_SNAP_MODE_FACE_NEAREST)
|
||||||
|
|
||||||
/** #SequencerToolSettings.snap_mode */
|
/** #SequencerToolSettings.snap_mode */
|
||||||
#define SEQ_SNAP_TO_STRIPS (1 << 0)
|
#define SEQ_SNAP_TO_STRIPS (1 << 0)
|
||||||
#define SEQ_SNAP_TO_CURRENT_FRAME (1 << 1)
|
#define SEQ_SNAP_TO_CURRENT_FRAME (1 << 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user