Hi,I have attached a patch to fix loading of generator layers.I'm not sure why we are loading the paintdevice in the loading code, since it's not saved. Is it needed for some case?Sven --001485f897ec9da30c0483e3d89d--