Etoy: lots of 'garbage' costumes?

Marcel Weiher marcel at metaobject.com
Thu Nov 14 00:23:51 UTC 2002


>> I have a small snippet of code to zap all of these costumes.  Is
>> this safe or will I destroy something important?
>
> It looks like:
>
> 	World abandonCostumeHistory.
>
> would clean these out.

That probably looks a lot like my code snippet *g*

> Does that work (i.e. can you still load the
> projects and do the animations)?

I will see, but I was unsure wether that was just lucky coincidence.

> Are SketchMorphs with identical forms being saved in costumes?

Identical Morphs are being saved.

>  If so,
> then Player>>knownSketchCostumeWithSameFormAs: isn't working right.



> Otherwise, costumes should just contain SketchMorphs with unique
> forms.

I guess that would be the problem, there are non-SketchMorphs being 
used a costumes.

Thanks,

Marcel




More information about the Squeak-dev mailing list