Fix #103244: ghosting in Eevee with sculpt paint brush and canvas #104557
@ -253,8 +253,11 @@ int EEVEE_temporal_sampling_init(EEVEE_ViewLayerData *UNUSED(sldata), EEVEE_Data
|
|||||||
|
|
||||||
const DRWContextState *draw_ctx = DRW_context_state_get();
|
const DRWContextState *draw_ctx = DRW_context_state_get();
|
||||||
const Scene *scene_eval = DEG_get_evaluated_scene(draw_ctx->depsgraph);
|
const Scene *scene_eval = DEG_get_evaluated_scene(draw_ctx->depsgraph);
|
||||||
|
bool painting = false;
|
||||||
|
|||||||
|
if (draw_ctx->rv3d)
|
||||||
|
painting = draw_ctx->rv3d->rflag & RV3D_PAINTING;
|
||||||
|
|
||||||
if ((scene_eval->eevee.taa_samples != 1) || DRW_state_is_image_render()) {
|
if (((scene_eval->eevee.taa_samples != 1) || DRW_state_is_image_render()) && !painting) {
|
||||||
float persmat[4][4];
|
float persmat[4][4];
|
||||||
|
|
||||||
if (!DRW_state_is_image_render() && (scene_eval->eevee.flag & SCE_EEVEE_TAA_REPROJECTION)) {
|
if (!DRW_state_is_image_render() && (scene_eval->eevee.flag & SCE_EEVEE_TAA_REPROJECTION)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user
This should be hidden in
DRW_state_is_navigating
or a similar function. Not sure yet if we need to split DRW_state_is_navigating... Best to ask direction in the eevee-viewport-module on blender.chat.