Cleanup: Make format

Formatting changes resulting from "make format"
This commit is contained in:
Harley Acheson
2023-08-21 15:52:36 -07:00
parent 4f6785774a
commit d45f47a809
2 changed files with 4 additions and 2 deletions

View File

@@ -1223,7 +1223,8 @@ void BKE_fcurve_handles_recalc_ex(FCurve *fcu, eBezTriple_Flag handle_sel_flag)
* - Only bezier-interpolation has handles (for now).
*/
if (ELEM(nullptr, fcu, fcu->bezt) ||
(fcu->totvert < 2) /*|| ELEM(fcu->ipo, BEZT_IPO_CONST, BEZT_IPO_LIN) */) {
(fcu->totvert < 2) /*|| ELEM(fcu->ipo, BEZT_IPO_CONST, BEZT_IPO_LIN) */)
{
return;
}

View File

@@ -624,7 +624,8 @@ static void v3d_cursor_snap_update(V3DSnapCursorState *state,
}
const bool use_surface_nor = tool_settings->plane_orient == V3D_PLACE_ORIENT_SURFACE;
const bool use_surface_co = snap_data->is_enabled || tool_settings->plane_depth == V3D_PLACE_DEPTH_SURFACE;
const bool use_surface_co = snap_data->is_enabled ||
tool_settings->plane_depth == V3D_PLACE_DEPTH_SURFACE;
float co[3], no[3], face_nor[3], obmat[4][4], omat[3][3];
eSnapMode snap_elem = SCE_SNAP_TO_NONE;