Code

Only create / delete shape editors in the node tool when necessary.