Eevee: Set engine data needs update to false when everything is up to date

Currently this shouldn't cause any differences, but is required for the upcoming
changes in informing draw engines about changes.
This commit is contained in:
Sergey Sharybin
2017-11-28 17:22:34 +01:00
parent 3cb19a3d89
commit 6208ce2e0a

View File

@@ -872,6 +872,8 @@ static void eevee_lights_shcaster_updated(EEVEE_ViewLayerData *sldata, Object *o
for (int i = 0; (lamp = linfo->shadow_cube_ref[i]) && (i < MAX_SHADOW_CUBE); i++) {
light_tag_shadow_update(lamp, ob);
}
EEVEE_ObjectEngineData *oedata = EEVEE_object_data_get(ob);
oedata->need_update = false;
}
void EEVEE_lights_update(EEVEE_ViewLayerData *sldata)