diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 18:43:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 18:43:52 +0400 |
commit | 8e388a8f49da1f8709db3ace0b6590ac71503c6c (patch) | |
tree | f2685344cb66c96b07bfaf9abeb3954d156fae88 /release/scripts | |
parent | 486b3cd2f540f3670e38cf60550100d1689c74c2 (diff) |
fixes for recent renaming
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/io/export_x3d.py | 2 | ||||
-rw-r--r-- | release/scripts/modules/rna_info.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/io/export_x3d.py b/release/scripts/io/export_x3d.py index d3a8957dd1e..3b396011378 100644 --- a/release/scripts/io/export_x3d.py +++ b/release/scripts/io/export_x3d.py @@ -965,7 +965,7 @@ class x3d_class: # if mesh.faceUV: for face in mesh.active_uv_texture.data: # for face in mesh.faces - sidename = "two" if face.use_twoside else "one": + sidename = "two" if face.use_twoside else "one" if sidename in sided: sided[sidename]+=1 diff --git a/release/scripts/modules/rna_info.py b/release/scripts/modules/rna_info.py index 98cd4bcbd3a..0a93121c559 100644 --- a/release/scripts/modules/rna_info.py +++ b/release/scripts/modules/rna_info.py @@ -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) |