diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-09 15:00:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-09 15:00:28 +0300 |
commit | 0e713ba1d01c6bca4052b19f72045415cd6fea70 (patch) | |
tree | 770d347aa10b2261bf8979f639e7e1d30f452c90 /source | |
parent | 9bc23bd616ffec08af43258ffe3b8bfbf2e0065f (diff) |
- rewrote arm rig so it creates 2 chains and blend them automatically (like the leg)
- use reverse order for palm fingers (pointer first)
- allow copying bone class instances to exclude some bones
- doc generation had a python error (incedently updated online docs linked from the splash)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/epy_doc_gen.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/blender/python/epy_doc_gen.py b/source/blender/python/epy_doc_gen.py index f16c7504cb2..8783cec93ab 100644 --- a/source/blender/python/epy_doc_gen.py +++ b/source/blender/python/epy_doc_gen.py @@ -691,8 +691,15 @@ def op2epy(BASEPATH): operators = dir(op_mod) for op in sorted(operators): # rna = getattr(bpy.types, op).bl_rna - rna = getattr(op_mod, op).get_rna() - write_func(rna, '', out, 'OPERATOR') + try: + rna = getattr(op_mod, op).get_rna() + except AttributeError: + rna = None + except TypeError: + rna = None + + if rna: + write_func(rna, '', out, 'OPERATOR') out.write('\n') out.close() |