The Trunk: EToys-tfel.259.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: EToys-tfel.259.mcz

commits-2
Tim Felgentreff uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-tfel.259.mcz

==================== Summary ====================

Name: EToys-tfel.259
Author: tfel
Time: 29 September 2016, 10:11:59.109594 am
UUID: 2f475582-bfa8-48fa-a9eb-362252d134ef
Ancestors: EToys-tfel.258

Another fix for copying Kedama, KedamaPatches need to reference the copy of their world, too, if that was copied.

=============== Diff against EToys-tfel.258 ===============

Item was added:
+ ----- Method: KedamaPatchMorph>>veryDeepFixupWith: (in category 'copying') -----
+ veryDeepFixupWith: deepCopier
+
+ super veryDeepFixupWith: deepCopier.
+ kedamaWorld := deepCopier references at: kedamaWorld ifAbsent: [kedamaWorld].!

Item was changed:
+ ----- Method: KedamaPatchMorph>>veryDeepInner: (in category 'copying') -----
- ----- Method: KedamaPatchMorph>>veryDeepInner: (in category 'as yet unclassified') -----
  veryDeepInner: deepCopier
  "the state of a Kedama patch is held in its forms, so we need to "
  form := form deepCopy.
  displayForm := displayForm deepCopy.
  tmpForm := tmpForm deepCopy.
  super veryDeepInner: deepCopier.!