Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-12-26 19:50:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-12-26 19:50:05 +0300
commit2431c6667cf838901bb5dbec3f211416c112f648 (patch)
tree0698b1a93dcb24aea05c065d30f2db12f0d57b63 /source/blender/python
parent21b45f3b00c5a82e30c0144a47bdd19f6e0d647d (diff)
* Added bSound to rna (still need to do bSample and bSoundListener structs)
* rna epy doc-gen was failing when trying to sort None
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/epy_doc_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/epy_doc_gen.py b/source/blender/python/epy_doc_gen.py
index 6ed3dc0950b..6808a691e20 100644
--- a/source/blender/python/epy_doc_gen.py
+++ b/source/blender/python/epy_doc_gen.py
@@ -111,7 +111,7 @@ def rna2epy(target_path):
def base_id(rna_struct):
try: return rna_struct.base.identifier
- except: return None
+ except: return '' # invalid id
structs = [(base_id(rna_struct), rna_struct.identifier, rna_struct) for rna_struct in bpydoc.structs.values()]
structs.sort() # not needed but speeds up sort below, setting items without an inheritance first