Cleanup: clang-format
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user