[etoys-dev] Etoys: Morphic-kfr.99.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Dec 5 08:38:59 EST 2012


Karl Ramberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-kfr.99.mcz

==================== Summary ====================

Name: Morphic-kfr.99
Author: kfr
Time: 5 December 2012, 2:36:50 pm
UUID: 797a26d6-9766-5e40-89e6-5b6bf0878dc5
Ancestors: Morphic-kfr.98

Small fix for hue filter

=============== Diff against Morphic-kfr.98 ===============

Item was changed:
  ----- Method: SketchMorph>>hueShift:form: (in category 'filters') -----
  hueShift: aShift form: filteredForm 
  	| f fOut shift |
  	aShift = 0 ifTrue:[^ filteredForm].
+ 	shift := aShift min: 360 max: -360.
- 	shift := aShift min: 180 max: -180.
  	f := filteredForm asFormOfDepth: 32.
  	fOut := f deepCopy.
  	ScratchPlugin
  		primShiftHue: f bits
  		into: fOut bits
  		byDegrees: shift.
  	^ fOut asFormOfDepth: 16!



More information about the etoys-dev mailing list