Py API docs: fix extracting bmesh.ops from C code.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 19 Oct 2015 16:55:31 +0000 (03:55 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 19 Oct 2015 16:55:31 +0000 (03:55 +1100)
doc/python_api/rst_from_bmesh_opdefines.py

index fcfe0c25c807887befd3b844ffdb67c48b1624a7..c93be662648765117765c51255c7f926fcc46362 100644 (file)
@@ -163,6 +163,9 @@ def main():
 
         for i, l in enumerate(b):
             l = l.strip()
+            # casts
+            l = l.replace("(int)", "")
+
             l = l.replace("{", "(")
             l = l.replace("}", ")")