mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-21 10:50:54 +00:00
Closes: https://bugs.gentoo.org/964984 Closes: https://bugs.gentoo.org/963487 Closes: https://bugs.gentoo.org/963109 Closes: https://bugs.gentoo.org/960390 Closes: https://bugs.gentoo.org/960371 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44694 Signed-off-by: Sam James <sam@gentoo.org>
25 lines
879 B
Diff
25 lines
879 B
Diff
From b15763a8a1dca3e8feb7852e14c5cb84f9aacca5 Mon Sep 17 00:00:00 2001
|
|
From: Paul Zander <negril.nx@gmail.com>
|
|
Date: Sun, 17 Aug 2025 17:43:48 +0200
|
|
Subject: [PATCH] don't show variable names
|
|
|
|
Signed-off-by: Paul Zander <negril.nx@gmail.com>
|
|
|
|
diff --git a/source/blender/nodes/composite/nodes/node_composite_pixelate.cc b/source/blender/nodes/composite/nodes/node_composite_pixelate.cc
|
|
index 1315312c612..e2cdbabcc31 100644
|
|
--- a/source/blender/nodes/composite/nodes/node_composite_pixelate.cc
|
|
+++ b/source/blender/nodes/composite/nodes/node_composite_pixelate.cc
|
|
@@ -99,8 +99,8 @@ class PixelateOperation : public NodeOperation {
|
|
}
|
|
}
|
|
|
|
- int2 size = end - start;
|
|
- int count = size.x * size.y;
|
|
+ int2 pixel = end - start;
|
|
+ int count = pixel.x * pixel.y;
|
|
output.store_pixel(texel, accumulated_color / count);
|
|
});
|
|
}
|
|
--
|
|
2.50.1
|
|
|