BGE Python owned proxies had a problem being decref'd twice, this would crash on freeing KX_Vertex/Poly Proxy types when python was compiled with debug options enabled.

add_mesh_torus.py wasnt tested from update, will go through all edited scripts and test :\
This commit is contained in:
2009-05-07 22:06:27 +00:00
parent e1c958c364
commit cdba1ddd5d
2 changed files with 2 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ def main():
BPyAddMesh.add_mesh_simple('Torus', verts, [], faces)
if math:
if cos and sin and pi:
main()
else:
Blender.Draw.PupMenu("Error%t|This script requires a full python installation")