Skip to content
Snippets Groups Projects
Commit b5b76c0d authored by Campbell Barton's avatar Campbell Barton
Browse files

update for blender changes

parent 5027ccba
No related branches found
No related tags found
No related merge requests found
......@@ -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])
......
......@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment