check if the layer exists rather then getting the array.
[blender.git] / projectfiles /
drwxr-xr-x   ..
drwxr-xr-x - blender
drwxr-xr-x - datatoc
drwxr-xr-x - gameengine
drwxr-xr-x - kernel
drwxr-xr-x - sumo