* Added bSound to rna (still need to do bSample and bSoundListener structs)

* rna epy doc-gen was failing when trying to sort None
This commit is contained in:
2008-12-26 16:50:05 +00:00
parent 21b45f3b00
commit 2431c6667c
7 changed files with 146 additions and 9 deletions

View File

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