[etoys-dev] Etoys: Etoys-bf.57.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 16 17:56:11 EDT 2011


Bert Freudenberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-bf.57.mcz

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

Name: Etoys-bf.57
Author: bf
Time: 16 May 2011, 11:55:32 pm
UUID: 79ee4862-8989-44cf-894f-319aa077ff95
Ancestors: Etoys-kfr.56

chooseClickTarget returns topRenderer now, so use renderedMorph to access the actual morph

=============== Diff against Etoys-kfr.56 ===============

Item was changed:
  ----- Method: Player>>adoptScriptsFrom (in category 'misc') -----
  adoptScriptsFrom
  	"Let the user click on another object form which the receiver should obtain scripts and code"
  
  	| aMorph |
  	Sensor waitNoButton.
  	aMorph _ ActiveWorld chooseClickTarget.
  	aMorph ifNil: [^ Beeper beep].
  
+ 	(((aMorph renderedMorph isSketchMorph) and: [aMorph player belongsToUniClass]) and: [self belongsToUniClass not])
- 	(((aMorph isSketchMorph) and: [aMorph player belongsToUniClass]) and: [self belongsToUniClass not])
  		ifTrue:
  			[costume acquirePlayerSimilarTo: aMorph player]
  		ifFalse:
  			[Beeper beep]!



More information about the etoys-dev mailing list