Fix T78520 EEVEE: No viewport update when changing material nodetree

This was comming from rBd82c3d86155ea3c7831c7b5ef5d07bc8e2d99394
This commit is contained in:
2020-08-06 13:37:41 +02:00
parent b313710c10
commit 574bd866c8

View File

@@ -269,8 +269,9 @@ int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data
}
}
else {
/* Fix Texture painting (see T79370). */
if (DRW_state_is_navigating()) {
const bool all_shaders_compiled = stl->g_data->queued_shaders_count_prev == 0;
/* Fix Texture painting (see T79370) and shader compilation (see T78520). */
if (DRW_state_is_navigating() || !all_shaders_compiled) {
effects->taa_current_sample = 1;
}
else {