[Etoys] Avoiding batching of script execution
bert at freudenbergs.de
Sat Oct 11 15:04:18 EDT 2008
Am 11.10.2008 um 19:58 schrieb Bert Freudenberg:
> Am 11.10.2008 um 19:42 schrieb Karl Ramberg:
>>> Am 11.10.2008 um 16:34 schrieb Karl Ramberg:
>>>> Press button 'Ellipse startRegenerate' then 'Ellipse startDrawing'
>>>> this will batch the drawing.
>>>> Press button 'Ellipse startRegenerate' again then single step
>>>> 'Ellipse draw' in the viewer, this works.
>> The problem must be in my script that sets the new heading and
>> it seems to ignore the changes to Ellipse all together.
>> I tested to change that script to do other stuff to Ellipse but the
>> changes were ignored. I'm very curious to why
>> this happens...
> Hah! That's a hint. Your ellipse's copies will still be ticking ...
> that would cause problems indeed.
If you add a line like "BranchStack's firstElement stopScript: #draw"
as last line in Ellipse>>storeBranch then your project works.
- Bert -
More information about the etoys-dev