[gimp/goat-invasion: 602/608] app: add undo_desc for converting the image to GIMP_PRECISION_HALF
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 602/608] app: add undo_desc for converting the image to GIMP_PRECISION_HALF
- Date: Fri, 27 Apr 2012 21:15:58 +0000 (UTC)
commit 45689532ead4947209683787ebe318d51fa431aa
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]