[squeak-dev] The Trunk: Morphic-tpr.1060.mcz

Chris Muller asqueaker at gmail.com
Mon Dec 21 01:45:04 UTC 2015


When mistakes like this happen, I think its better to revert to the
ancestor and try again, rather than embalm these kinds of meta-notes
forever into the history.

'copy image versions here' does exactly what its meant to and what it says
it does.

On Sun, Dec 20, 2015 at 12:58 PM, <commits at source.squeak.org> wrote:

> tim Rowledge uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-tpr.1060.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-tpr.1060
> Author: tpr
> Time: 20 December 2015, 10:57:42.928 am
> UUID: c999504e-8f74-4941-a116-911eb62f0c74
> Ancestors: Morphic-tpr.1059, Morphic-mt.1059
>
> Attempt to correct stupid (probably( mistake in MC usage; I used the 'copy
> image versions here' menu item in the belief it would do something more
> sensible than simply copy a file. This clashed with marcel's change and so
> this is an attempt to re-merge and save a proper version.
>
> =============== Diff against Morphic-tpr.1059 ===============
>
> Item was changed:
>   ----- Method: Form>>scaledIntoFormOfSize:smoothing: (in category
> '*Morphic') -----
>   scaledIntoFormOfSize: aNumberOrPoint smoothing: factor
>         "Scale and center the receiver into a form of a given size"
>
>         | extent scaledForm result |
>
>         extent := aNumberOrPoint asPoint.
>         extent = self extent ifTrue: [^ self copy].
>
>         scaledForm := self scaledToSize: extent smoothing: factor.
>
> +       result := self species extent: extent depth: self depth.
> -       result := self species extent: extent depth: 32.
>         result getCanvas
>                 translucentImage: scaledForm
>                 at: extent - scaledForm extent // 2.
>
>         ^ result
>   !
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20151220/a34357ba/attachment.htm


More information about the Squeak-dev mailing list