[BUG] Save flash as morph broken

Wiebe Baron wiebe at cosmocows.com
Tue Apr 24 12:55:58 UTC 2001


The recent addition to:

DataStream class initialize

	"For all classes that are like WordArrays, store them the way ColorArray is
stored.
	 As bits, and able to change endianness."
	Smalltalk do: [:cls |
		cls isInMemory ifTrue: [
			cls isBehavior ifTrue: [
				cls isPointers not & cls isVariable & cls isWords ifTrue: [
					(t includesKey: cls) ifFalse: [t at: cls put: 20]]]]].


is a little too general as the following classes are like WordArrays but
don't understand id 20 ( #writeOn: ):

MatrixTransform2x3 (flash)
BalloonBuffer
B3DPrimitiveVertex
B3DPrimitiveRasterizerData


Undoing this change is my best fix to date, anyone got a better one?

Cheers,

 Wiebe.








More information about the Squeak-dev mailing list