Cleanup: style
This commit is contained in:
@@ -1990,7 +1990,7 @@ static void mesh_build_extra_data(struct Depsgraph *depsgraph, Object *ob)
|
||||
}
|
||||
}
|
||||
|
||||
static void mesh_runtime_check_normals_valid(const Mesh* mesh)
|
||||
static void mesh_runtime_check_normals_valid(const Mesh *mesh)
|
||||
{
|
||||
UNUSED_VARS_NDEBUG(mesh);
|
||||
BLI_assert(!(mesh->runtime.cd_dirty_vert & CD_MASK_NORMAL));
|
||||
|
||||
@@ -637,7 +637,7 @@ static void studiolight_spherical_harmonics_apply_band_factors(StudioLight *sl,
|
||||
|
||||
int index = 0, dst_idx = 0;
|
||||
for (int band = 0; band < STUDIOLIGHT_SH_BANDS; band++) {
|
||||
for (int m = 0; m < SQUARE(band+1) - SQUARE(band); m++) {
|
||||
for (int m = 0; m < SQUARE(band + 1) - SQUARE(band); m++) {
|
||||
/* Skip L3 */
|
||||
if (band != 3) {
|
||||
mul_v3_v3fl(sl->spherical_harmonics_coefs[dst_idx++], sh[index], sl_sh_band_factors[band]);
|
||||
|
||||
@@ -899,11 +899,11 @@ int ED_transform_calc_gizmo_stats(
|
||||
totsel++;
|
||||
}
|
||||
if ((ebo->flag & BONE_ROOTSEL) &&
|
||||
/* don't include same point multiple times */
|
||||
((ebo->flag & BONE_CONNECTED) &&
|
||||
(ebo->parent != NULL) &&
|
||||
(ebo->parent->flag & BONE_TIPSEL) &&
|
||||
EBONE_VISIBLE(arm, ebo->parent)) == 0)
|
||||
/* don't include same point multiple times */
|
||||
((ebo->flag & BONE_CONNECTED) &&
|
||||
(ebo->parent != NULL) &&
|
||||
(ebo->parent->flag & BONE_TIPSEL) &&
|
||||
EBONE_VISIBLE(arm, ebo->parent)) == 0)
|
||||
{
|
||||
calc_tw_center_with_matrix(tbounds, ebo->head, use_mat_local, mat_local);
|
||||
totsel++;
|
||||
|
||||
Reference in New Issue
Block a user