diff --git a/source/blender/editors/space_view3d/view3d_select.cc b/source/blender/editors/space_view3d/view3d_select.cc index 6f17b7397a1..99edfdedcfd 100644 --- a/source/blender/editors/space_view3d/view3d_select.cc +++ b/source/blender/editors/space_view3d/view3d_select.cc @@ -3103,7 +3103,7 @@ static bool ed_curves_select_pick(bContext &C, const int mval[2], const SelectPi Object &curves_ob = *base->object; Curves &curves_id = *static_cast(curves_ob.data); bke::crazyspace::GeometryDeformation deformation = - bke::crazyspace::get_evaluated_curves_deformation(*vc.depsgraph, *vc.obedit); + bke::crazyspace::get_evaluated_curves_deformation(*vc.depsgraph, curves_ob); const bke::CurvesGeometry &curves = curves_id.geometry.wrap(); const float4x4 projection = ED_view3d_ob_project_mat_get(vc.rv3d, &curves_ob); const IndexMask elements(curves.attributes().domain_size(selection_domain));