blob: f49a3fa03326acc8d45ac11d87fe92b8efd0b5b9 [file] [log] [blame]
diff -urN MayaVi-1.5-orig/mayavi MayaVi-1.5/mayavi
--- MayaVi-1.5-orig/mayavi 2009-01-15 15:11:43.000000000 -0800
+++ MayaVi-1.5/mayavi 2009-01-15 15:13:05.000000000 -0800
@@ -283,6 +283,11 @@
import Tkinter
+# fix for python>=2.3, see:
+# http://article.gmane.org/gmane.comp.graphics.mayavi.user/336
+# http://www.python.org/doc/2.3/whatsnew/node18.html
+Tkinter.wantobjects = 0
+
# Import this here to avoid hard-to-debug errors when importing VTK
# fails from within mayavi.Main.