From b5b76c0d78c9010c16189f7e5c81e150b00db8a9 Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Wed, 18 Aug 2010 04:12:02 +0000
Subject: [PATCH] update for blender changes

---
 render_povray/render.py | 2 +-
 render_renderfarmfi.py  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/render_povray/render.py b/render_povray/render.py
index 066a73c94..f37fab59f 100644
--- a/render_povray/render.py
+++ b/render_povray/render.py
@@ -626,7 +626,7 @@ def write_pov_ini(filename_ini, filename_pov, filename_image):
     file.write('Output_File_Type=T\n') # TGA, best progressive loading
     file.write('Output_Alpha=1\n')
 
-    if render.render_antialiasing:
+    if render.use_antialiasing:
         aa_mapping = {'5': 2, '8': 3, '11': 4, '16': 5} # method 1 assumed
         file.write('Antialias=1\n')
         file.write('Antialias_Depth=%d\n' % aa_mapping[render.antialiasing_samples])
diff --git a/render_renderfarmfi.py b/render_renderfarmfi.py
index 3dee813bb..1f8458c06 100644
--- a/render_renderfarmfi.py
+++ b/render_renderfarmfi.py
@@ -731,8 +731,8 @@ class ORE_PrepareOp(bpy.types.Operator):
             print("An unsupported simulation was detected. Please check your settings and remove them")
             self.report({'WARNING'}, "An unsupported simulation was detected. Please check your settings and remove them")
             errors = True
-        rd.save_buffers = False
-        rd.free_image_textures = True
+        rd.use_save_buffers = False
+        rd.use_free_image_textures = True
         if rd.use_compositing:
             if hasCompositingErrors(sce.use_nodes, sce.nodetree, ore.parts):
                 print("Found disallowed nodes or problematic setup")
-- 
GitLab