[gimp] app: remove some disabled code from gimp:shapeburst
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove some disabled code from gimp:shapeburst
- Date: Thu, 1 May 2014 18:35:59 +0000 (UTC)
commit 830dbf6d5bb32852cc7d7addf9ba175d5f0947cd
Author: Michael Natterer <mitch gimp org>
Date: Thu May 1 20:33:57 2014 +0200
app: remove some disabled code from gimp:shapeburst
app/operations/gimpoperationshapeburst.c | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/app/operations/gimpoperationshapeburst.c b/app/operations/gimpoperationshapeburst.c
index f45e3f2..11fdea5 100644
--- a/app/operations/gimpoperationshapeburst.c
+++ b/app/operations/gimpoperationshapeburst.c
@@ -247,18 +247,12 @@ gimp_operation_shapeburst_process (GeglOperation *operation,
while (y >= end)
{
-#if 1
- /* FIXME: this should be much faster, it converts
- * to 32 bit rgba intermediately, bah...
+ /* FIXME: this should be much faster, it converts to
+ * 32 bit rgba intermediately, bah...
*/
gegl_buffer_sample (input, x, y, NULL, &src,
input_format,
GEGL_SAMPLER_NEAREST, GEGL_ABYSS_NONE);
-#else
- gegl_buffer_get (input, GEGL_RECTANGLE (x, y, 1, 1), 1.0,
- input_format, &src,
- GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
-#endif
if (ABS (src) < EPSILON)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]