[Bf-blender-cvs] [87bcc5a7295] uvimage-editor-drawing: Tag for redraw in compositor viewer operation.

Jeroen Bakker noreply at git.blender.org
Thu Aug 20 09:59:37 CEST 2020


Commit: 87bcc5a7295061e370c9802a3a8983d474f1b3b1
Author: Jeroen Bakker
Date:   Thu Aug 20 09:55:42 2020 +0200
Branches: uvimage-editor-drawing
https://developer.blender.org/rB87bcc5a7295061e370c9802a3a8983d474f1b3b1

Tag for redraw in compositor viewer operation.

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

M	source/blender/compositor/operations/COM_ViewerOperation.cpp

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

diff --git a/source/blender/compositor/operations/COM_ViewerOperation.cpp b/source/blender/compositor/operations/COM_ViewerOperation.cpp
index 3d5d50e1c7f..e1d891559a7 100644
--- a/source/blender/compositor/operations/COM_ViewerOperation.cpp
+++ b/source/blender/compositor/operations/COM_ViewerOperation.cpp
@@ -190,7 +190,7 @@ void ViewerOperation::updateImage(rcti *rect)
                                     rect->ymin,
                                     rect->xmax,
                                     rect->ymax);
-
+  this->m_image->gpuflag |= IMA_GPU_REFRESH;
   this->updateDraw();
 }



More information about the Bf-blender-cvs mailing list