fixes for recent renaming

This commit is contained in:
2010-08-19 14:43:52 +00:00
parent 486b3cd2f5
commit 8e388a8f49
3 changed files with 4 additions and 3 deletions

View File

@@ -595,7 +595,7 @@ def BuildRNAInfo():
op_mods = dir(bpy.ops)
for op_mod_name in sorted(op_mods):
if op_mod_name.startswith('__') or op_mod_name in ("add", "remove"):
if op_mod_name.startswith('__'):
continue
op_mod = getattr(bpy.ops, op_mod_name)
@@ -647,6 +647,7 @@ if __name__ == "__main__":
if bpy.app.background:
import sys
sys.stderr.write("\n".join(data))
sys.stderr.write("\n\nEOF\n")
else:
text = bpy.data.texts.new(name="api.py")
text.from_string(data)