From 38cd6329d6da59d0cc40c148d05ecd848fc225c8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 20 Oct 2015 03:55:31 +1100 Subject: [PATCH] Py API docs: fix extracting bmesh.ops from C code. --- doc/python_api/rst_from_bmesh_opdefines.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/python_api/rst_from_bmesh_opdefines.py b/doc/python_api/rst_from_bmesh_opdefines.py index fcfe0c25c80..c93be662648 100644 --- a/doc/python_api/rst_from_bmesh_opdefines.py +++ b/doc/python_api/rst_from_bmesh_opdefines.py @@ -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("}", ")")