Fix T79370 EEVEE: Texture paint does not update during stroke
Was caused by rBd82c3d86155e
This commit is contained in:
parent
1b593edf1d
commit
f3e724b93d
|
@ -269,7 +269,13 @@ int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data
|
|||
}
|
||||
}
|
||||
else {
|
||||
effects->bypass_drawing = true;
|
||||
/* Fix Texture painting (see T79370). */
|
||||
if (DRW_state_is_navigating()) {
|
||||
effects->taa_current_sample = 1;
|
||||
}
|
||||
else {
|
||||
effects->bypass_drawing = true;
|
||||
}
|
||||
}
|
||||
|
||||
return repro_flag | EFFECT_TAA | EFFECT_DOUBLE_BUFFER | EFFECT_DEPTH_DOUBLE_BUFFER |
|
||||
|
|
Loading…
Reference in New Issue