Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-03-19 02:36:07 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-03-19 02:37:30 +0300
commit7fed213ba40d6f36282b09245ea459b22d4f6c5b (patch)
tree8538ed2d0723684af69c5dd9897cbc7547b478cb /source/blender/draw/engines/image/image_space_image.hh
parent356073c13e16489ba13f3988478ec0749af9fdf1 (diff)
Revert "Compositor: Support backdrop offset for the Viewer node"
This reverts commit 33409f9f1cd42e899f2706fe7878e5e89b50d617, as it breaks panning in the image editor. Fixes T96543
Diffstat (limited to 'source/blender/draw/engines/image/image_space_image.hh')
-rw-r--r--source/blender/draw/engines/image/image_space_image.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/engines/image/image_space_image.hh b/source/blender/draw/engines/image/image_space_image.hh
index 264129e0728..40aa117514c 100644
--- a/source/blender/draw/engines/image/image_space_image.hh
+++ b/source/blender/draw/engines/image/image_space_image.hh
@@ -148,8 +148,7 @@ class SpaceImageAccessor : public AbstractSpaceAccessor {
}
void init_ss_to_texture_matrix(const ARegion *region,
- const float image_display_offset[2],
- const float image_resolution[2],
+ const float UNUSED(image_resolution[2]),
float r_uv_to_texture[4][4]) const override
{
unit_m4(r_uv_to_texture);