Skip to content

Commit d31dd76

Browse files
committed
bpy: extending recursion limit
1 parent 3b0d7e5 commit d31dd76

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bpy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ def fix_types(in_file):
8080

8181

8282
def main():
83+
# We get waaay past the 1000 limit even on relatively simple examples.
84+
sys.setrecursionlimit(10000)
85+
86+
8387
parser = argparse.ArgumentParser()
8488
parser.set_defaults(func=lambda args: print('use --help to see commands'))
8589

0 commit comments

Comments
 (0)