Use the existing layers_to_create() method rather than reimplementing it.
treeda794c6024e51fdd325d185be2b7ad1f9dfa6aee
-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