Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/curve/editcurve.c
| Show First 20 Lines • Show All 5,674 Lines • ▼ Show 20 Lines | if (use_proj) { | ||||
| snap_context, | snap_context, | ||||
| SCE_SNAP_MODE_FACE, | SCE_SNAP_MODE_FACE, | ||||
| &(const struct SnapObjectParams){ | &(const struct SnapObjectParams){ | ||||
| .snap_select = (vc.obedit != NULL) ? SNAP_NOT_ACTIVE : SNAP_ALL, | .snap_select = (vc.obedit != NULL) ? SNAP_NOT_ACTIVE : SNAP_ALL, | ||||
| .use_object_edit_cage = false, | .use_object_edit_cage = false, | ||||
| }, | }, | ||||
| mval, | mval, | ||||
| NULL, | NULL, | ||||
| NULL, | |||||
| location, | location, | ||||
| NULL); | NULL); | ||||
| ED_transform_snap_object_context_destroy(snap_context); | ED_transform_snap_object_context_destroy(snap_context); | ||||
| } | } | ||||
| if ((cu->flag & CU_3D) == 0) { | if ((cu->flag & CU_3D) == 0) { | ||||
| const float eps = 1e-6f; | const float eps = 1e-6f; | ||||
| ▲ Show 20 Lines • Show All 1,471 Lines • Show Last 20 Lines | |||||