When prepping projects for loading, there is a check to see if a turtle is null, but not a check to see if the turtle is undefined. The latter case is triggering an error, which may or may not be causing the toolbar to disappear when loading a project from the Planet. In any case, it should be caught.
This patch checks for undefined as well as null. I assign a turtle ID of the length of the turtleList rather than Infinity in these situations.
When prepping projects for loading, there is a check to see if a turtle is null, but not a check to see if the turtle is undefined. The latter case is triggering an error, which may or may not be causing the toolbar to disappear when loading a project from the Planet. In any case, it should be caught.
This patch checks for undefined as well as null. I assign a turtle ID of the length of the turtleList rather than Infinity in these situations.