diff --git a/direct/src/directscripts/extract_docs.py b/direct/src/directscripts/extract_docs.py index 22b9c19ec2..03f6e0b76e 100644 --- a/direct/src/directscripts/extract_docs.py +++ b/direct/src/directscripts/extract_docs.py @@ -129,6 +129,7 @@ def processType(handle, type): classtype = "union" else: print "I don't know what type %s is" % typename + return if len(derivations) > 0: print >>handle, "%s %s : public %s {" % (classtype, typename, ", public ".join(derivations))