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:
2010-01-09 23:44:01 +00:00
parent 99b713e8b0
commit 08c9ecb3b0
20 changed files with 526 additions and 235 deletions

View File

@@ -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: