[etoys-dev] Etoys: Etoys-kfr.54.mcz

commits at source.squeak.org commits at source.squeak.org
Mon May 16 15:37:29 EDT 2011


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

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

Name: Etoys-kfr.54
Author: kfr
Time: 16 May 2011, 9:36:40 pm
UUID: 7eb37387-f42f-0f4e-ad40-4aed13cfa9db
Ancestors: Etoys-bf.53

Fix for issue http://tracker.squeakland.org/browse/SQ-831

=============== Diff against Etoys-bf.53 ===============

Item was changed:
  ----- Method: Player>>tellSelfAndAllSiblings: (in category 'scripts-standard') -----
  tellSelfAndAllSiblings: aMessageSelector
  	"Send the given message selector to all my sibling instances, including myself"
  
  	Symbol hasInterned: aMessageSelector
  		ifTrue: [ :sel |
  	self belongsToUniClass
  		ifTrue: [self class allSubInstancesDo:
  			[:anInstance | 
  			anInstance isInTrash ifFalse: [
+ 				(anInstance respondsTo: sel) ifTrue:
+ 		[anInstance triggerScript: sel ]]]]
- 				anInstance triggerScript: sel ]]]
  		ifFalse: [(sel ~~ #emptyScript) ifTrue:
  				[ScriptingSystem reportToUser: ('Cannot "tell " ' translated, aMessageSelector, ' to ' translated, self externalName) ]]]!



More information about the etoys-dev mailing list