[Coldstuff] To all cold admins out there: bug fixes

xmath xmath@nubz.org
Sun, 13 Jan 2002 01:17:47 +0100


>4. There are problems with changing the parents of an object. I'll 
>give a fix as soon as I've figured out what exactly goes wrong and 
>how to fix it.

Found it, in $root.chparents:

       //     $sys.clear_definer_vars(a, branch);
       $sys.clear_definer_vars(a, [this()]);

Why is the first line commented out? it IS the correct action

the uncommented line leaves variable instances lying around that are 
annoyingly difficult to get rid of. (at the very least you need to 
chparent back)

  - xmath