Cleanup: redundant parenthesis

This commit is contained in:
2020-06-18 12:21:38 +10:00
parent 790d942b69
commit 3aa1143d57
34 changed files with 57 additions and 55 deletions

View File

@@ -370,7 +370,7 @@ static void eevee_id_object_update(void *UNUSED(vedata), Object *object)
{
EEVEE_LightProbeEngineData *ped = EEVEE_lightprobe_data_get(object);
if (ped != NULL && ped->dd.recalc != 0) {
ped->need_update = (ped->dd.recalc & (ID_RECALC_TRANSFORM)) != 0;
ped->need_update = (ped->dd.recalc & ID_RECALC_TRANSFORM) != 0;
ped->dd.recalc = 0;
}
EEVEE_LightEngineData *led = EEVEE_light_data_get(object);