#BUGFIX by stefan
class: Image
changed:
#colorMapFromRGBValueArray:
#setColorMap:
Create ColorPalette instead of MappedPalette in order that ImageEditor
can add colors.
--- a/Image.st Tue Sep 26 11:39:06 2017 +0200
+++ b/Image.st Tue Sep 26 12:26:10 2017 +0200
@@ -2948,7 +2948,9 @@
#( rgb0 rgb1 ... rgbN)
where each element must be an rgbValue in 0..FFFFFF."
- self colorMap:(MappedPalette rgbValueVector:anArray)
+ self colorMap:(ColorPalette rgbValueVector:anArray)
+
+ "Modified: / 25-09-2017 / 17:08:17 / stefan"
!
container:aVisualContainer
@@ -3148,11 +3150,11 @@
(newColorMap isColormap or:[newColorMap isNil]) ifTrue:[
colorMap := newColorMap.
] ifFalse:[
- colorMap := MappedPalette withColors:newColorMap.
- ].
-
- "Modified: / 30-01-2017 / 19:15:34 / stefan"
+ colorMap := ColorPalette withColors:newColorMap.
+ ].
+
"Modified (format): / 03-02-2017 / 16:39:48 / cg"
+ "Modified: / 25-09-2017 / 17:05:26 / stefan"
!
width