Mantis - Croquet
Viewing Issue Advanced Details
4570 Hedgehog major always 08-15-06 04:16 10-08-06 00:26
schwa  
andreas  
normal  
resolved  
fixed  
none    
none  
0004570: Fixes with exporting Morphic Hacks
TTextureHackForms and TMorphicForm can't properly be exported on a TIslandCopyExporter. I'm not aware of a way to exercise this bug in a standard SDK image, but KidsFirst Croquet does.

Here's the text from the attached .mcz, which fixes the problem:

Fix TMorphicForm and TTextureHackForm so that they can be exported and re-imported into a Croquet world. Both classes now temporarily change an iVar during export:

TMorphicForm nils out 'myFarRef', avoiding an error.

TTextureHackForm sets 'stepping' to false, so that it will start stepping when imported into a new world.
 Croquet-Copier-jcg.8.mcz [^] (12,670 bytes) 08-15-06 04:16

Notes
(0006655)
schwa   
08-15-06 04:19   
If I could, I'd rename the bug title to "Fixes for exporting Morphic Hacks". Oops.
(0007619)
andreas   
10-08-06 00:26   
In the repositories. However, please note that TTextureHack and TMorphicForm are on their way out in favour of TEmbeddedApp which formalizes the previously informal model. I've posted these fixes nevertheless to easy transition pains.