Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_cursor_snap.c
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | #endif | ||||
| struct wmPaintCursor *handle; | struct wmPaintCursor *handle; | ||||
| bool is_initiated; | bool is_initiated; | ||||
| } SnapCursorDataIntern; | } SnapCursorDataIntern; | ||||
| static SnapCursorDataIntern g_data_intern = { | static SnapCursorDataIntern g_data_intern = { | ||||
| .state_default = {.prevpoint = NULL, | .state_default = {.prevpoint = NULL, | ||||
| .snap_elem_force = (SCE_SNAP_MODE_VERTEX | SCE_SNAP_MODE_EDGE | | .snap_elem_force = SCE_SNAP_MODE_GEOM, | ||||
| SCE_SNAP_MODE_FACE | SCE_SNAP_MODE_EDGE_PERPENDICULAR | | |||||
| SCE_SNAP_MODE_EDGE_MIDPOINT), | |||||
| .plane_axis = 2, | .plane_axis = 2, | ||||
| .color_point = {255, 255, 255, 255}, | .color_point = {255, 255, 255, 255}, | ||||
| .color_line = {255, 255, 255, 128}, | .color_line = {255, 255, 255, 128}, | ||||
| .color_box = {255, 255, 255, 128}, | .color_box = {255, 255, 255, 128}, | ||||
| .box_dimensions = {1.0f, 1.0f, 1.0f}, | .box_dimensions = {1.0f, 1.0f, 1.0f}, | ||||
| .draw_point = true}}; | .draw_point = true}}; | ||||
| /** | /** | ||||
| ▲ Show 20 Lines • Show All 892 Lines • Show Last 20 Lines | |||||