diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-04 11:51:25 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-04 11:51:25 +0300 |
commit | 5088d907e558daf5399cd8ee620380cb59522912 (patch) | |
tree | 6563cd04f29ae3253f87f28bcca43697a7d079de /source/blender/draw/engines/image/image_private.hh | |
parent | f7a6e8db04bc3f61e4e7ef6e6b07eaef9ce15066 (diff) |
Compositor: Backdrop mode changes node grid.
When viewing backdrop on top of the node grid, the grid would be
rendered black when the mode wasn't set to RGBA. This fix fixes this by
reverting the previous fix of drawing the backdrop and implement a
different one that recomputes the UV coordinates on the screen edges.
Diffstat (limited to 'source/blender/draw/engines/image/image_private.hh')
-rw-r--r-- | source/blender/draw/engines/image/image_private.hh | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/engines/image/image_private.hh b/source/blender/draw/engines/image/image_private.hh index d586515c6be..d8f8adb7e84 100644 --- a/source/blender/draw/engines/image/image_private.hh +++ b/source/blender/draw/engines/image/image_private.hh @@ -54,8 +54,6 @@ struct IMAGE_Data { #define IMAGE_DRAW_FLAG_APPLY_ALPHA (1 << 1) #define IMAGE_DRAW_FLAG_SHUFFLING (1 << 2) #define IMAGE_DRAW_FLAG_DEPTH (1 << 3) -/** Flag to disable depth testing (used for node editor back drop drawing).*/ -#define IMAGE_DRAW_FLAG_DEPTH_ALWAYS (1 << 4) /** * Abstract class for a drawing mode of the image engine. |