New export through plugin scheme for yafray. It is working on linux and mac os x
[blender.git] / source / blender / src / buttons_scene.c
index 5b18c31f53ddf8dbef95a2f808d031bce80d4458..0f90cd7895decc5a04980a018699ef8eb7c60b37 100644 (file)
@@ -1294,8 +1294,11 @@ static void render_panel_yafrayGlobal()
                                &G.scene->r.YF_numprocs, 1.0, 8.0, 10, 10, "Number of processors to use");
 
        /*AA Settings*/
+
        uiDefButS(block,TOGN|BIT|0, B_REDR, "Auto AA",5,110,150,20, &G.scene->r.YF_AA, 
                                        0, 0, 0, 0, "Set AA using OSA and GI quality, disable for manual control");
+       uiDefButS(block,TOGN|BIT|0, B_REDR, "xml",175,110,75,20, &G.scene->r.YFexportxml, 
+                                       0, 0, 0, 0, "Export to an xml file and call yafray isntead of plugin");
        if(G.scene->r.YF_AA){
                uiDefButI(block, NUM, 0, "AA Passes ", 5,85,150,20,
                                &G.scene->r.YF_AApasses, 0, 64, 10, 10, "AA Passes");