[gegl] gegl:shear default to no shearing
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl:shear default to no shearing
- Date: Mon, 15 Feb 2016 21:01:01 +0000 (UTC)
commit 19d71edfbb37fe86097dce910711ca1151775ac2
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Feb 15 21:47:10 2016 +0100
gegl:shear default to no shearing
This mitigates bug https://bugzilla.gnome.org/show_bug.cgi?id=760827 , though
by setting both X and Y to non-0.0 values, clang based compiles would still
segfault
operations/transform/shear.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/transform/shear.c b/operations/transform/shear.c
index 02ffc34..e0fbda7 100644
--- a/operations/transform/shear.c
+++ b/operations/transform/shear.c
@@ -22,9 +22,9 @@
#ifdef GEGL_CHANT_PROPERTIES
-gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 1.0,
+gegl_chant_double (x, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
_("Horizontal shear amount"))
-gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 1.0,
+gegl_chant_double (y, -G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
_("Vertical shear amount"))
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]