Move the test for whether the duck is the correct type to before the distance calcula...
tree055cc0c0fb53f97adfbeea7846bc6cd2a46dfab2
-rw-r--r-- 3741 .gitignore
-rw-r--r-- 1453 .valgrind
drwxr-xr-x - ETL
drwxr-xr-x - autobuild
drwxr-xr-x - gtkmm-osx
drwxr-xr-x - synfig-core
drwxr-xr-x - synfig-docs
drwxr-xr-x - synfig-osx
drwxr-xr-x - synfig-studio