diff options
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_manipulator_ruler.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_manipulator_ruler.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_manipulator_ruler.c b/source/blender/editors/space_view3d/view3d_manipulator_ruler.c index f286db75129..909b5ed11ca 100644 --- a/source/blender/editors/space_view3d/view3d_manipulator_ruler.c +++ b/source/blender/editors/space_view3d/view3d_manipulator_ruler.c @@ -320,9 +320,9 @@ static bool view3d_ruler_item_mousemove( co_other = ruler_item->co[inter->co_index == 0 ? 2 : 0]; - if (ED_transform_snap_object_project_view3d_mixed( + if (ED_transform_snap_object_project_view3d( ruler_info->snap_context, - SCE_SELECT_FACE, + SCE_SNAP_MODE_FACE, &(const struct SnapObjectParams){ .snap_select = SNAP_ALL, .use_object_edit_cage = true, @@ -346,9 +346,9 @@ static bool view3d_ruler_item_mousemove( else if (do_snap) { const float mval_fl[2] = {UNPACK2(mval)}; - if (ED_transform_snap_object_project_view3d_mixed( + if (ED_transform_snap_object_project_view3d( ruler_info->snap_context, - (SCE_SELECT_VERTEX | SCE_SELECT_EDGE | SCE_SELECT_FACE), + (SCE_SNAP_MODE_VERTEX | SCE_SNAP_MODE_EDGE | SCE_SNAP_MODE_FACE), &(const struct SnapObjectParams){ .snap_select = SNAP_ALL, .use_object_edit_cage = true, |