Mantis - Squeak Packages
Viewing Issue Advanced Details
1500 Balloon3D minor always 07-20-05 18:38 08-11-05 19:00
BGaertner  
 
normal  
new  
open  
none    
none  
0001500: [BUG] [FIX] Wonderland the Alice object oven.mdl is not loadable.
This bug report is for Squeak 3.8 - 0006527 with Balloon3D loaded
from SqueakMap.

Bringing Wonderland to work is a challenge.
Here is the next problem:

   w makeActorFrom: '.\Alice\Furnishings\oven.mdl'.

causes a syntax error.
In the file we read:
oven.Knob_1 = _MakeObject(MakeObject, oven, "oven.Knob_1", StoringScene=0)
The underscore in 'oven.Knob_1' is not accepted.

It seems that is helps to replace WonderlandActor>setName:

setName: newName
 "Sets the object's name"

    myName _ newName

with:

setName: newName
 "Sets the object's name"

 myName _ newName reject: [:char | char = $_].
  " the underscore is not tolerated as part of a method name "


Attached is a change set.
 UnderscoreFix.1.cs [^] (576 bytes) 07-20-05 18:40

There are no notes attached to this issue.