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)]]]
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)]]]