SpaceGroupUCL / depthmapX

depthmapX is a multi-platform Spatial Network Analysis Software
200 stars 53 forks source link

Fix sala script #270

Closed blsemo closed 5 years ago

blsemo commented 5 years ago

This fixes #267, and also a few fatal bugs in salascript that were uncovered when starting to fix this issue. Pretty much a parsing bug in salascript (which caused #267) was hiding the fact that marking objects had been completely broken. Fixed by tracking the marks on the salaprogram object itself so they don't get reset when recreating the salaobjects. This should be safe as there is only ever one map for one program, so the attribute index of a map element is unique within the context of a salaprogram instance.