changeset 2572 | 1c09be361688 |
parent 2571 | 8b182cc4cac7 |
child 2573 | c18db441c6ab |
--- a/ImageEditor.st Fri Aug 07 18:35:42 2009 +0200 +++ b/ImageEditor.st Fri Aug 07 18:44:52 2009 +0200 @@ -4236,7 +4236,11 @@ prevMode := colorMapMode value. newColorMap := self class listOfColorMaps at:aMode. - depth := (newColorMap size log:2) asInteger. + aMode == #depth32 ifTrue:[ + depth := 32. + ] ifFalse:[ + depth := (newColorMap size log:2) asInteger. + ]. useNearest := false. depth == 1 ifTrue:[