RNA/Py API
change how data is added. eg. bpy.data.add_mesh(name) --> bpy.data.meshes.new(name) bpy.data.remove_lamp(lamp) --> bpy.data.lamps.remove(lamp) image and texture stil use add_* funcs
This commit is contained in:
@@ -537,7 +537,7 @@ def write_pov(filename, scene=None, info_callback=None):
|
||||
writeMatrix(matrix)
|
||||
file.write('}\n')
|
||||
|
||||
bpy.data.remove_mesh(me)
|
||||
bpy.data.meshes.remove(me)
|
||||
|
||||
def exportWorld(world):
|
||||
if not world:
|
||||
|
||||
Reference in New Issue
Block a user