Manual merge of soc-2009-kazanbas branch:
[blender.git] / release / io / engine_render_pov.py
index c1cd84c..1c5026c 100644 (file)
@@ -281,7 +281,7 @@ def write_pov(filename, scene=None, info_callback = None):
                        me = ob.data
                        me_materials= me.materials
                        
-                       me = ob.create_render_mesh(scene)
+                       me = ob.create_mesh(True, 'RENDER')
                        
                        if not me:
                                continue