Cleanup: clang-format

This commit is contained in:
2020-06-24 14:23:54 +10:00
parent 31dd80e0de
commit 1daaac75b5
3 changed files with 6 additions and 3 deletions

View File

@@ -3175,7 +3175,8 @@ static void update_effectors_task_cb(void *__restrict userdata,
/* do effectors */
pd_point_from_loc(data->scene, voxel_center, vel, index, &epoint);
BKE_effectors_apply(data->effectors, NULL, mds->effector_weights, &epoint, retvel, NULL, NULL);
BKE_effectors_apply(
data->effectors, NULL, mds->effector_weights, &epoint, retvel, NULL, NULL);
/* convert retvel to local space */
mag = len_v3(retvel);

View File

@@ -4393,7 +4393,7 @@ static void screen_animation_region_tag_redraw(ScrArea *area,
else if (scene->r.cfra > region->v2d.cur.xmax) {
region->v2d.cur.xmin = scene->r.cfra;
region->v2d.cur.xmax = region->v2d.cur.xmin + w;
ED_region_tag_redraw (region);
ED_region_tag_redraw(region);
return;
}
}

View File

@@ -1551,7 +1551,9 @@ static void applyGridIncrement(
/** \name Generic callbacks
* \{ */
float transform_snap_distance_len_squared_fn(TransInfo *UNUSED(t), const float p1[3], const float p2[3])
float transform_snap_distance_len_squared_fn(TransInfo *UNUSED(t),
const float p1[3],
const float p2[3])
{
return len_squared_v3v3(p1, p2);
}