The Space class maintains a HashMap of Geoms that have been added. Geoms are added to the HashMap in the add method. Geoms are not, however, removed from the HashMap in the remove method, resulting in an error message when a new Geom with the same name is added to the Space. Is there a reason for this or is it an oversight? There is an analgous issue with the World class.
Thanks you are right - it is removed from the list but not the map. This also causes a memory leak, I’m glad you spotted it.
Will.
This has been fixed now, thanks.
Will.