Hi,
I created a simple sorting demo in EToys for a presentation. After
building and implementing the first demo I created a copy of the
Holder. This is a deep copy, not a sibling- the idea is to implement
another sorting algorithm in the copy by changing its existing scripts,
and then run it side by side with the original version.
The bug I'm running into involves adding a new script to the new copy
of the Holder. The "Holder1 startScript emptyScript" tile will not
list my new script, until I go back and add a new script with the same
name to the original Holder. I'm pretty sure that is not the desired
behavior but I haven't been able to dig deep enough into the underlying
code to find the problem. It appears to be looking back to the
original copy to find the list of scripts which are available, when it
should be looking at the scripts in the copy.
The work-around is easy enough- add an empty script to the original
Holder named the same as my new script- but if anyone has a fix, or can
point me towards the general code I should be looking at, I would
appreciate it.
Thanks!
Jerry Bell