From 1e1c39fc89395c5e5a68a7a21500195cd8dc6fd5 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 26 Oct 2020 15:54:00 +0100 Subject: Fix T82064: Add Image Clone tool to overlay engine MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The clone tool in the image editor can show a second texture on top of the image. This wasn't ported and now results into alpha and depth issues. This fix adds the clone tool drawing to the overlay engine. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D9352 --- source/blender/draw/tests/shaders_test.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/draw/tests') diff --git a/source/blender/draw/tests/shaders_test.cc b/source/blender/draw/tests/shaders_test.cc index 703099477d6..39d8e45cc19 100644 --- a/source/blender/draw/tests/shaders_test.cc +++ b/source/blender/draw/tests/shaders_test.cc @@ -240,6 +240,7 @@ TEST_F(DrawTest, overlay_glsl_shaders) EXPECT_NE(OVERLAY_shader_edit_uv_stretching_area_get(), nullptr); EXPECT_NE(OVERLAY_shader_edit_uv_stretching_angle_get(), nullptr); EXPECT_NE(OVERLAY_shader_edit_uv_tiled_image_borders_get(), nullptr); + EXPECT_NE(OVERLAY_shader_edit_uv_stencil_image(), nullptr); EXPECT_NE(OVERLAY_shader_extra(false), nullptr); EXPECT_NE(OVERLAY_shader_extra(true), nullptr); EXPECT_NE(OVERLAY_shader_extra_groundline(), nullptr); -- cgit v1.2.3