paint: fix live brush ghosting

This commit is contained in:
luboslenco
2026-03-27 20:15:24 +01:00
parent 5193d4948d
commit 1346ec3e4f
+5
View File
@@ -63,6 +63,11 @@ void render_path_base_begin() {
bool skip_taa =
context_raw->split_view || context_raw->viewport_mode == VIEWPORT_MODE_PATH_TRACE || context_raw->camera_type == CAMERA_TYPE_ORTHOGRAPHIC ||
((context_raw->tool == TOOL_TYPE_CLONE || context_raw->tool == TOOL_TYPE_BLUR || context_raw->tool == TOOL_TYPE_SMUDGE) && context_raw->pdirty > 0);
if (config_raw->brush_live) {
render_path_base_taa_frame = 0;
}
scene_camera->frame = skip_taa ? 0 : render_path_base_taa_frame;
camera_object_proj_jitter(scene_camera);
camera_object_build_mat(scene_camera);