diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2020-05-11 18:13:36 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2020-05-11 18:53:45 +0300 |
commit | a1363f74bf168279e5b8eb0fede000513a5d919a (patch) | |
tree | ee59848a139a82d7a5ffd645d446bc7a7f839d32 /source/blender/editors/screen | |
parent | e3861b949ad46c42b99571ad857f6e916e129e8d (diff) |
Fix T76216 Workbench: Glicht when switching from quad views to normal view
This was because of the use of uninitialized buffers for TAA.
This patch is a quick fix for the issue which is a missing tagging for a
complete viewport update.
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 452984f2333..31174f88629 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3872,6 +3872,10 @@ static int region_quadview_exec(bContext *C, wmOperator *op) rv3d->viewlock = 0; rv3d->rflag &= ~RV3D_CLIPPING; + /* FIXME: This fixes missing update to workbench TAA. (see T76216) + * However, it would be nice if the tagging should be done in a more conventional way. */ + rv3d->rflag |= RV3D_GPULIGHT_UPDATE; + /* Accumulate locks, in case they're mixed. */ for (region_iter = area->regionbase.first; region_iter; region_iter = region_iter->next) { if (region_iter->regiontype == RGN_TYPE_WINDOW) { |