Comment 1 for bug 1433529

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Modify the method below:

DrGeoXml>>parseScript: drgeoNode
"First do one pass to compile all the Smalltalk source code script, do not recompile duplicate ones"
 drgeoNode elementsDo: [: node |
  (node tag = #value and: [(node attributeAt: #type) = #script]) ifTrue: [
   [(node attributeAt: #class) asClass]
    on: NotFound
    do: [CodeImporter evaluateString: (node contentStringAt: #code)]]]