[Bf-blender-cvs] [a1363f74bf1] blender-v2.83-release: Fix T76216 Workbench: Glicht when switching from quad views to normal view

Clément Foucault noreply at git.blender.org
Mon May 11 17:54:19 CEST 2020


Commit: a1363f74bf168279e5b8eb0fede000513a5d919a
Author: Clément Foucault
Date:   Mon May 11 17:13:36 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rBa1363f74bf168279e5b8eb0fede000513a5d919a

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.

===================================================================

M	source/blender/editors/screen/screen_ops.c

===================================================================

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) {



More information about the Bf-blender-cvs mailing list