Storing morphs displayed in the world in a GOODS db
Avi Bryant
avi at beta4.com
Tue Sep 28 09:53:22 UTC 2004
On Sep 27, 2004, at 10:31 PM, John Pierce wrote:
> Hi Avi,
>
> So I took you up on the simplest option for now. Attached is a mcz
> file that I hope you incorporate. It includes changes as follows:
>
> 1. Enabled you to put a class-side method called goodsFieldsToExclude
> where you can return an array of instVars to *not* store in GOODs. Of
> course, the default implementation on Object class is to return an
> empty list.
>
> 2. Added a class-side implementation of goodsFieldsToExclude on Color
> to exclude the two cached instVars of Color. This makes sense for
> Color anyways since the cached instVars are exactly that -- cache!.
>
> 3. Of course, fixed up Object class>>goodsFieldDescriptors to exclude
> any instVars in the exclude list.
>
> 4. Added ActiveWorld as a specialObject in KKDatabase's special
> objects array. This enables morphs that are currently being display
> to be stored in GOODs.
Hi John,
Looks good. I've published this versions as is on SqueakMap.
Avi
More information about the Squeak-dev
mailing list
|