[gimp/goat-invasion] app: add undo_desc for converting the image to GIMP_PRECISION_HALF



commit 4d10d8bfd0b64d14cfd4aa62908cf4acf719ec39
Author: Michael Natterer <mitch gimp org>
Date:   Fri Apr 27 10:46:24 2012 +0200

    app: add undo_desc for converting the image to GIMP_PRECISION_HALF

 app/core/gimpimage-convert.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpimage-convert.c b/app/core/gimpimage-convert.c
index dfd6477..d229d20 100644
--- a/app/core/gimpimage-convert.c
+++ b/app/core/gimpimage-convert.c
@@ -1116,6 +1116,10 @@ gimp_image_convert_precision (GimpImage     *image,
       undo_desc = C_("undo-type", "Convert Image to 16 bit unsigned integer");
       break;
 
+    case GIMP_PRECISION_HALF:
+      undo_desc = C_("undo-type", "Convert Image to 16 bit float");
+      break;
+
     case GIMP_PRECISION_FLOAT:
       undo_desc = C_("undo-type", "Convert Image to 32 bit float");
       break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]