[etoys-notify] [JIRA] Created: (SQ-288) make-sibling of object with ticking script which calls 'look like' generates error

tracker at squeakland.org tracker at squeakland.org
Tue Aug 4 23:18:00 EDT 2009


make-sibling of object with ticking script which calls 'look like' generates error
----------------------------------------------------------------------------------

         Key: SQ-288
         URL: http://tracker.immuexa.com/browse/SQ-288
     Project: squeakland
        Type: Bug
  Components: etoys  
    Reporter: Scott Wallace
     Fix For: code to test for publication, squeakfest 2009 release - desirable
 Attachments: lookLikeBug-sw.1.cs.gz

The use of the "look like" tile is problematical in situations where it is invoked by a ticking script of an object undergoing the creation of sibling(s) or copies etc.

"Look like" is an ancient tile, dating from the beginning of etoys, no longer the preferred mechanism for animation.  But it is used in the "powerful ideas" book, so we've kept it around, with its own unique and intractably buggy code path, for backward compatibility.

The preferred mechanism is now to assign to the "graphic" slot of the sketch whose costume is being changed, for example, for animation.

The suggested fix for "look like" is to make it now directly call the graphic-setting code.

The attached fileout implements the suggested fix.

It would be excellent to get feedback assuring us that this change retains the expected behavior of projects that use "look like"...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://tracker.immuexa.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the etoys-notify mailing list