# bugfix: scale of distance functions was very bad (over 90000)
# fix: new layer is now selected automatically