Loading preferences isn't necesary when using the plugin, right? just making sure. I guess this patch only applies for xml export. If that's not the case, what userprefs does yafray export need when using plugin? I think none, but maybe I'm missing something jandro