Has anyone verified that the instanceX and instanceY variables are deserialized correctly. Since changing the setName method to not parse the XY coordinates from the name, we may not be resetting them when the structure is deserialized.
If not, adding the instanceX/Y variables to the serialized object class at the bottom of the site class along with the following code should fix it.
Has anyone verified that the instanceX and instanceY variables are deserialized correctly. Since changing the setName method to not parse the XY coordinates from the name, we may not be resetting them when the structure is deserialized.
If not, adding the instanceX/Y variables to the serialized object class at the bottom of the site class along with the following code should fix it.
if (instanceX != null || instancyY != null || !site.parseCoordinatesFromName(name)) { site.instanceX = (instanceX != null) ? instanceX : -1; site.instanceY = (instanceX != null) ? instanceX : -1; }