Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_view3d/view3d_cursor_snap.c
| Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | |||||
| #endif | #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 = {.flag = V3D_SNAPCURSOR_SNAP_EDIT_GEOM_FINAL, | ||||
| .snap_elem_force = SCE_SNAP_MODE_GEOM, | .snap_elem_force = SCE_SNAP_MODE_GEOM, | ||||
| .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 893 Lines • Show Last 20 Lines | |||||