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.
This commit is contained in:
parent
e3861b949a
commit
a1363f74bf
Notes:
blender-bot
2023-02-14 08:06:35 +01:00
Referenced by issue #76216, Object disappared and glichted when switching between normal view and quad views
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue